Wednesday, August 12, 2015

Introdution to AngularJS

Dear everybody,


Long time I did not write the article 6 months ago, so today I continue for research new technology. It is AngularJS, in the future I will integrate it to sharepoint.


Now we will find how to use AngularJS in web application.


First: create new web application => create new html page then include script to refer AngularJS
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>


All content like below


<!DOCTYPE html>

<html>

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

<body>

<div ng-app="">


<p>Name: <input type="text" ng-model="name"></p>


<p ng-bind="name"></p>

</div>

</body>

</html>

1 comment:

  1. AngularJS is an open-source JavaScript framework that assists with running SPA.
    AngularJS Training

    ReplyDelete