AngularJS, Front End Development

AngularJS : Text Suggestions

Let's implement text suggestions functionality using AngularJS. It provides suggestions while we type into the text field. For example, if we have a list of fruits and the user types 'ap', it will show all fruit names that contain these letters. [html] <!Doctype html> <html ng-app> <head> ...

by raj
Tag: AngularJS
16-Sep-2012

AngularJS, Front End Development

AngularJS : Adding Items to a JavaScript List and updating corresponding DOM Dynamically

I hope you found my previous blog helpful which was about Updating a Label Dynamically with User Input on AngularJS and this blog uses the concept of MVC. Let's consider the following example : [java] <!doctype html> <html ng-app> <head> <script...

by raj
Tag: AngularJS
14-Sep-2012

AngularJS, Front End Development

AngularJS: Updating a Label Dynamically with User Input

After the basic introduction of AngularJS, we are all set to write code for implementing a simple functionality. Let us consider a simple scenario. There is a textbox, and whenever the text in it changes we need to update a label dynamically. Traditional way of doing this in Javascript is to bind the change event of the textbox, such...

by raj
Tag: AngularJS
11-Sep-2012

AngularJS, Front End Development

AngularJS : A “Write Less Do More” JavaScript Framework

AngularJS is a javascript framework which helps to make html pages more dynamic with the least possible code. The idea is to write less, do more. AngularJS is based on the concept of MVC ( Model, View & Controller ). Model : It consists of the data that flows in the application. Before the advent of AngularJS, whenever there...

by raj
Tag: AngularJS
11-Sep-2012