In this AngularJS expression example you will learn how initialize variable using ng-init and display in HTML DOM elements in AngularJS.
Here you can view the output of the example and you can also "try it yourself" by clicking on "Live Demo" button given at the bottom.
Syntax