how to angularjs with me

angularjs intro

angular is really a full-featured SPA(Spingle Page Application) framework has been quite gained the popularity because of the clean separation of the layers in the MVC(Model view Controller) architecture and in angular we store the data in the form of json(java script object notation) object in the '$scope' and send data over the url to a web service(SOAP,REST) and stored in the data base .since web service are mostly REST based we can directly uses JSON and there is no need for conversion to store into database that reduces most of the prep work.

angularjs cdn

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js">
</script>

prerequisites

before coming to angularjs it is better to have a idea about
1.HTML
2.CSS
3.JAVASCRIPT(MOSTLY REQUIRED)


ng-app example

<!DOCTYPE html>
<html lang="en-US">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js">
</script>
<body>

<div ng-app="">
  <p>Name : <input type="text" ng-model="name"></p>
  <h1>Hello {{name}}</h1>
</div>

</body>
</html