Two Requirements
Add <script> tag pointing to angular.js
Add an ng-app attribute in your HTML
- ng-app is an angular directive
- the ng is short for Angular
<div ng-app>
this is an example
</div>
To simple check that is angular js running or not, simple use {{ 4 * 4 }} in a plain html
<div ng-app>
this is an example {{ 4 * 4 }}
</div>
siddhu
Comments
Post a Comment
Thank you :)