Hi Baskar, 

How do you mean all pages? didn't you convert to a SPA yet? If you didn't 
convert, the only way is to make an separate app.js for the page needing 
the tree view.
you can separate out the main app definition to a separate file, this will 
make that a lot easier.
However I really recommend you look into a build tool like gulp, or grunt. 
This will help you to concatenate your code in a single JS file, and so on.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to