ANGULARJS directive
instruction |
Description |
explanation |
Ng_app |
Defines the root element of the application. |
Instructions |
Ng_bind |
Binds HTML elements to application data. |
Brief introduction |
Ng_click |
Defines the behavior of an element when it is clicked. |
HTML Events |
Ng_controller |
Defines the controller object for the application. |
Controller |
Ng_disabled |
Binds the application data to the HTML disabled property. |
HTML DOM |
Ng_init |
Define an initial value for the application. |
Instructions |
Ng_model |
Binds application data to HTML elements. |
Instructions |
Ng_repeat |
Define a template for each data in the controller. |
Instructions |
Ng_show |
Displays or hides HTML elements. |
HTML DOM |
AngularJS Filter
Filter | Filters
Description |
Currency |
Format numbers as currency formats. |
Filter |
Select a subset from the array item. |
lowercase |
The formatted string is lowercase. |
By |
Arranges an array according to an expression. |
Uppercase |
The formatted string is uppercase. |
AngularJS Study notes Two