Ng-App-4

 

Another example of Ng-App with empty ng-app value. See the code

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome to LearnKode - A code learning platform</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> </head> <body> <div ng-app="" ng-init="firstName='LearnKode'"> <p>The name is <span ng-bind="firstName"></span></p> </div> </body> </html>
Output