How can i use two app.js files in single AnuglarJS application

Posted by Kasani007 under AngularJS on 5/20/2017 | Points: 10 | Views : 186 | Status : [Member] | Replies : 1
How can i use two app.js files, I have two dashboards with different routings.
after login two navigation buttons will be there, after clicking on one dashboard menus with one routeprovider should be there and another dashboard another routeprovider with menus should be there ..how can i do it..




Responses

Posted by: Jitendrasoft09 on: 5/27/2017 [Member] [MVP] Starter | Points: 25

Up
0
Down
By default, angularjs bootstrap one html document, in this case you need to manually bootstrap both app.js file using angular.bootstrap. Hope it helps you. Go through this link-
www.stackoverflow.com/questions/12860595/how-to-define-two-angular-apps-modules-in-one-page


Jitendra Kumar
If my post helps you, plz mark as an answer.

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response