Reputation: 101
I am new to developement in aangular js. I have a task of loading the CSS template for page dynamically, by taking the name of CSS template from JSON object returned from the http Servlet. I need to call angular before the page is rendered.
Upvotes: 0
Views: 74
Reputation: 101
Well, I found the way to solve my problem, the best way to approach this is to understand the bootstrapping of application. As far as calling the script before RENDERING the page is concerned, I followed the explanation and example discussed at: http://docs.angularjs.org/guide/bootstrap This solved my issue.
Upvotes: 1