AngularJS ng-if vs ng-hide/ng-show
Angular ng-if directive removes or recreates a portion of the DOM tree based on an expression (true or false). On the other hand ng-show (or read more
AngularJS ng-href example
AngularJS directive ng-href can be used to use a template to create href. Directly using it in href can make the link broken before Angular read more
AngularJS ng-hide – conditionally hide an element
AngularJS directive ng-hide hides an element if the expression ng-hide evaluates to true. Under the hood it adds or removes class ng-hide to the element. read more
AngularJS ng-focus example
AngularJS ng-focus expression is evaluated when an element (window, input, select, textarea, a) gets focus.
AngularJS ng-disabled – conditionally disable an element
AngularJS directive ng-disabled sets the disabled attribute on the element if the expression ng-disabled evaluates to true.
AngularJS ng-cloak examples
AngularJS ng-cloak directive is used to prevent the Angular html template from being briefly displayed by the browser in its raw (uncompiled) form while your read more
AngularJS ng-class-even and ng-class-odd example
AngularJS directives ng-class-even and ng-class-odd work like ng-class except that when these are used with ng-repeat, these apply to even and odd rows.
AngularJS ng-class example
AngularJS ng-class directive allows you to dynamically set CSS classes on an element using an expression. The expression can be of one of these three read more
AngularJS ng-checked example
AngularJS ng-checked sets the checked attribute on the element, if the expression inside ng-checked is true.
AngularJS ng-change example
AngularJS ng-change expression is evaluated when the user changes the input.