AngularJs is an most popular JavaScript framework developed by Google Inc. Given the immense support that Angular gets from Google and developers all over the world, Angular 2 and Angular 3 could easily be your top choice for developing client-side web apps. This tutorial will provides you number of examples written with AngularJs.
Here is simple hello example with AngularJs. To use AngularJs in your project, you just need to add reference of single angular JavaScript file. You can simply download script and host on your host or directly use Google cdn like below example.
1 2 3 4 5 6 7 8 9 10 11 12 | <!DOCTYPE html> <html lang="en-US"> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> <body> <div ng-app=""> <p>Type Your Name : <input type="text" ng-model="name"></p> <h1>Hello {{name}}</h1> </div> </body> </html> |
Advertisement
View Running Example:
Type Your Name :