In AngularJS, the expressions bind the data related to applications with HTML. The simple expressions are normally in the form:
Whereas in AngularJS, expressions are written in double curly braces. For example: {{ 2+3 }}
is a form of an expression in AngularJS.
{{ Any expression }}
Line 7: Use the angular.min.js
file to access the AngularJS library.
Line 12: The expression is in double curly braces to make it an AngularJS expression. The expression {{ 2+3 }}
will thus return the value as a result.
Line 5: Use the angular.min.js
file to access the AngularJS library.
Line 15: Initialize the variable name
with the string Educative.
Line 17: The variable name
is in double curly braces to print the content stored in the variable.