AngularJS expressions are much like JavaScript expressions, placed inside HTML templates by using double braces such as: {{expression}}. AngularJS evaluates expressions and then dynamically adds the result to a web page. Like JavaScript expressions, they can contain literals, operators, and variables. There are some valid AngularJS expressions: •{{ 1 + 2 }} •{{ x + y }} •{{ x == y }} •{{ x = 2 }}
No comments:
Post a Comment