What is meant by this Angularjs statement

I'm reading a book called Angularjs . In it this is stated "Angular traverses the template and looks for directives and bindings. This results in registration of listeners and DOM manipulation, as well as fetching initial data from the server. The end result of this work is that the app is bootstrapped and the template is converted into a view."

What is meant by "App is bootstrapped and the template is converted into a view." ?

I'm confused by what is meant by bootstrapping in this case ?


There is no main() method in AngularJS. When you create an angular application, you simply declare modules with controllers, directives, etc. When the page loads, angular looks for elements in the DOM with an attribute called 'ng-app', and if found, it boostraps, or starts if you prefer, the application.

See http://docs.angularjs.org/api/ng.directive:ngApp and http://docs.angularjs.org/guide/bootstrap

Need Your Help

How to stop page refresh on typing in Form input?

javascript html angularjs twitter-bootstrap

I'm breaking my head over a small issue. I have a chat box in my web app which contains one input[type='text'] and a button. What I want is whenever user clicks on the button, the corresponding mes...

JLabel picture display issue

java image swing jlabel embedded-resource

I am currently trying to simply display an image within a JFrame. I have tried using the below code but it doesn't seem to work. I can't work out where I am going wrong - any ideas?