AngularJS directives are extensions of HTML markups. They tin survive attributes, chemical part names, CSS bird etc. AnuglarJS script reference is of import together with the script tin survive flora here:
https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"
The inwards a higher house script reference needs to survive added to your hTML page.
You tin abide by the whole listing of directives here:
https://docs.angularjs.org/api
Here is the usage of roughly directives placed inwards a html page that tin survive displayed on your localhost (in this representative the IIS inwards Windows 10). Place this code amongst a suitable advert inwards the inetpub / wwwroot directory.
======================
Some directives inwards AngularJS
ng-app
Sorry, blogger even together with therefore does non back upwards the "pre" tag!https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"
The inwards a higher house script reference needs to survive added to your hTML page.
You tin abide by the whole listing of directives here:
https://docs.angularjs.org/api
Here is the usage of roughly directives placed inwards a html page that tin survive displayed on your localhost (in this representative the IIS inwards Windows 10). Place this code amongst a suitable advert inwards the inetpub / wwwroot directory.
======================
ng-app
==============
When viewed on the browser (in this representative Microsoft Edge), the HTML page renders every bit shown.
Type anything it gets copied adjacent to Hello
Enter the increment part amongst your mouse, the count (presently 1) gets incremented
Click the link together with you lot larn to the page
More to come upwards inwards futurity posts on AngularJS
Komentar
Posting Komentar