The text of this article is not in this database — only its details are. Read it on the old site: Creating Angular App Without Using ng-app Directive
7 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

Mohit SharmaPosted May 26, 2016, 6:25 AM
Nice Article
Gaurav Kumar AroraPosted Dec 15, 2014, 3:43 PM
Jaganathan Bantheswaran _ Nice, I follow you. Good to get these contents.
Jaganathan BantheswaranPosted Dec 15, 2014, 2:03 AM
And a final word, there is nothing innovation in this article. Because everything is written in detail already @ angularjs.org. So we have to just explore it.
Jaganathan BantheswaranPosted Dec 13, 2014, 12:13 AM
I agree with you Gaurav. Even I explained the both the ways to bootstrap the angular app. And the angular compiler is just to compile the directives used in the HTML code based on the directive's priority so nothing explicit with ng-app. One more thing, ng-app is the highest priority directive. As I told, you can't use both ng-app as well as bootstrap option.
Gaurav Kumar AroraPosted Dec 12, 2014, 2:54 PM
Jaganathan Bantheswaran - even I did not try this but what if I removed the ng-app from here: <html ng-app ="module name is option here" > so, is it work if <html> is the only thing? I still have few things in my mind. We still need to initialize our angularjs in eitherway by using ng-app directive or using bootrap which accepting two parameters , referring-https://docs.angularjs.org/guide/bootstrap. One more thing I came to know angular bootstraper ultimate uses the same ng-app angular directive to compile html here it is: https://docs.angularjs.org/guide/compiler.
Gaurav Kumar AroraPosted Dec 12, 2014, 2:51 PM
Jaganathan Bantheswaran - as a reply to this article: http://www.c-sharpcorner.com/Blogs/46796/how-do-i-show-alert-in-angularjs.aspx its a great and really said innovative thing. Great to see this
K P Singh ChundawatPosted Nov 22, 2014, 4:37 PM
Jaganathan Bantheswaran Really very good Article ....learn new thing...thanks for sharing