by Yogesh | Jun 10, 2016 | AngularJS tutorial
Purpose of Filters A filter formats the value of an expression for display to the user. Filters can be added to expressions and directives using a pipe character. AngularJS filters can be used to transform data: Filter Description uppercase Returns the upper case of...
by Yogesh | Jun 9, 2016 | AngularJS tutorial
In this example , I am taking a table which is populated by angular people object and in each row there is a button , when user press a button respective row data will be displayed at below of table. First Name Last Name {{person.firstName}} {{person.lastName}}...
by Yogesh | Jun 8, 2016 | AngularJS tutorial
Using AngularJS we can easily divide your front-end source code into reusable components, called modules. An AngularJS module is just a container that groups together different components of your application under a common name. Modules are used to isolate logics like...
by Yogesh | Jun 4, 2016 | AngularJS tutorial
Directives can be used in four ways As elements: As attributes: As classes: As comments : Usually we use directives as elements and attributes. Let’s see that how we can create directives using an example In above example we created a angular...
by Yogesh | Jun 3, 2016 | AngularJS tutorial
At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS’s HTML compiler ($compile) to attach a specified behavior to that DOM element or even transform the DOM element and its...
by Yogesh | Jun 2, 2016 | AngularJS tutorial
Expressions are used to bind application data to HTML Template. They are pure JavaScript expressions.Expressions are written inside double curly braces such as in {{ expr }}. {{qty*cost}} {{ fname+' '+lname }} {{ items[1]+items[4] }} loop {{i}} {{person.fname+'...