Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
AngularJS ng-app Example
Keywords : Angularjs ng-app directive example, Angularjs ng-app example with demo, Angularjs directives : ng-app example, Use ng-app directive in angularjs with example
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> AngularJs ng-app Directive Example </title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> </head> <body> Outside Name: {{name}} <div ng-app="" ng-init="name='Tutlane'"> <p>Your Name: {{name}}</p> </div> Outside Name: {{name}} </body> </html>
Click Here to See Result
Result
Previous
Next