Sharing Top Content from the Angular-sphere.
Browsing Tag



Cookies help us deliver our services.By using our services, you agree to our use of cookies Learn all HTML and HTML5 tags offline easily.

Building a Typeahead Directive with AngularJS

Directives watch the value with a comparison on their own item and act . (I apparently lack consistent naming), and sets a class . component keeps track of which item is currently highlighted and the The end result is…

Sort the table on header click using AngularJS

sortClass - It also contains a function which takes the key name as a parameter. Using ng-repeat directive for displaying content on table element and defined ng-click directive on each header column for detecting click…

Diving deep into ngRepeat directive in AngularJS

In the example we have adding 'danger' class for middle rows. So in details we have all the data and that will pass one by one to item and in that item we are showing id, first_name etc. simple ngRepeatsimple ngRepeatsimple…