AngularJs hello Simplest hello

Simplest hello


hello {{name}}!


<html>
<head>
    <script src="../../../../angularjs/angular.min.js"></script>
</head>
<body>
<div ng-app>
    <input ng-model="name">
    <strong>hello {{name}}!</strong>
  • Custom HTML tags and attributes are used to add dynamic behavior to an otherwise static HTML document
  • Double curly braces ({{expression}}) are used as a delimiter for expressions outputting model values
  • In the AngularJS, all the special HTML tags and attributes that the framework can understand and interpret are referred to as directives.
You see, that any view changes triggered by a user are immediately reflected in the model, and any changes in the model are instantly propagated to a template.