Please enable JavaScript.
Coggle requires JavaScript to display documents.
AngularJS - Coggle Diagram
AngularJS
Filter
-
-
-
-
limitTo Limits an array/string, into a specified number of elements/characters.
-
-
-
-
Expressions
-
-
-
AngularJS will resolve the expression, and return the result exactly where the expression is written.
AngularJS expressions are much like JavaScript expressions: They can contain literals, operators, and variables.
-
Data binding
-
-
-
Two-Way Binding
The binding goes both ways. If the user changes the value inside the input field, the AngularJS property will also change its value:
-
-
Model
The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.
Validate User Input
The ng-model directive can provide type validation for application data (number, e-mail, required):
Application Status
The ng-model directive can provide status for application data (valid, dirty, touched, error):
The ng-model directive adds/removes the following classes, according to the status of the form field:
-
-
-
-
-
-
-
-
-
-
Services
In AngularJS, a service is a function, or object, that is available for, and limited to, your AngularJS application.
-
The $location service has methods which return information about the location of the current web page:
-
Controller
AngularJS controllers control the data of AngularJS applications.
AngularJS controllers are regular JavaScript Objects.