ngBind directive ngBind directive is mostly applied to a span element, it replaces the content of the span with the result of the expression provided. It has the same meaning as the double curly braces {{expression}}.Lets look into the following example of ngBind directive usage. … [Read more...]
AngularJS – Modules and Controllers
AngularJS Modules Modules are the AngularJS way of packaging similar functional codes under a single name. In simple terms it is like package of Java. AngularJS Modules consist of two main parts. An AngularJS module can define its own Controllers, Services, factories and directives.These can be access through out the module. Second part is it can have its own … [Read more...]
AngularJS Hello World Example
In this first article on AngularJS, let’s build the traditional "hello world" application. For this simple AngularJS Hello World application, we will have an input field which allows users to type their name. Then we will take the user name and display user's name along with the welcome message. For building up an AngularJS application we need to include "angular.js" file … [Read more...]