AngularJS is a javascirpt the web framework amied to make Web apps-simple-to-build and easy-to-maintain.
Files
===================================================
Css
-Main.css
Img
-Program-or-be-programmed.jpg
-The-book-of-trees.jpg
Js
Controllers
-Maincontroller.js
Shared
-Angular-mocks.js
-Angular-route.min.js
-Angular-min.js
-App.js
Index.html
===================================================
Step 1:
In App.js, created a new module named MYAPP. A module contains the different components of a AngularJS app.
var app = Angular.module ("myApp", []);
Step 2:
In index.html, <body ng-app= "myApp";.
Ng-app is a directive, it tells AngularJS that the MYAPP module would live within the <body> element.
Step 3:
In Maincontroller.js we created a new controller named Maincontroller. A Controller manage the app ' s data.
Step 4:
In Index.html, added
<div class= "main" ng-controller= "Maincontroller" > Like Ng-app, Ng-controller are a directive that defines the control Ler scope.
Step 5:
Inside <div class= "main" > We accessed $scope. Tittle using {{title}}.
Angularjs-map View