Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
Ng-App-7
In this example of
Ng-App
, we will initialize the char array and loop thro it. 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="chars=['L','e','a','r','n','K','o','d','e']"> <span ng-repeat="c in chars"> {{ c }} </span> </div> </body> </html>
Output
×
Save This try
Title
Description
<p>In this example of <code>Ng-App</code>, we will initialize the char array and loop thro it. See the code:</p>