AngularJS expressions can be written
- Inside double braces: {{ expression }}.
- Inside a directive: ng-bind="expression".
- Like JavaScript expressions: They can contain literals, operators, and variables.
- AngularJS numbers, strings, objects, arrays, are same as javascript.
- AngularJS resolves the expression, and return the result exactly where the expression is written.
- AngularJS expressions can be written inside HTML.
- AngularJS expressions do not support conditionals, loops, and exceptions, while JavaScript expressions do.
- AngularJS expressions support filters, while JavaScript expressions do not.
No comments:
Post a Comment