In step 0 I learn how the AngularJS use the ng-app directive to flag an element which Angular should consider to be the root element of our application. By doing this, it gives us a freedom to tell Angular if the entire html page or only a portion of it should be treated as the Angular application.
Example 1:
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="utf-8">
<title>My HTML File</title>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/bootstrap.css">
<script src="lib/angular/angular.js"></script>
</head>
<body>
<p>Nothing here {{'yet' + '!'}}</p>
</body>
</html>
Example 2:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My HTML File</title>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/bootstrap.css">
<script src="lib/angular/angular.js"></script>
</head>
<body ng-app>
<p>Nothing here {{'yet' + '!'}}</p>
</body>
</html>
Also, I learn how the AngularJS bootstraping the app by initialize it automatically. By what I've seen so far, many example or application was using automatic initialization during bootstrapping.
I learn how the core feature of Angular's templating capabilities – a binding, denoted by double-curlies works. The binding tells Angular that it should evaluate an expression and insert the result into the DOM in place of the binding.
Here are some of the expressions used on the tutorials:
<p>Nothing here {{'yet' + '!'}}</p>
<p>1 + 2 = {{ 1 + 2 }}</p>