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

Posted by Kasani007 under AngularJS 1x on 5/20/2017 | Points: 10 | Views : 443 | 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 can i do it..


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

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-

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