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>
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>
AngularJS is an open-source JavaScript framework that assists with running SPA.
ReplyDeleteAngularJS Training