Monday, August 20, 2018

AngularJs two ng-app module webpage

I am trying to figure a way to have my angular app use two modules. The main idea would be to separate login and the rest of the app. For that I need to override the module configuration. I simply don't want the user to be able to jump the login over to the normal app.

I am using angular.bootstrap following Working with two modules in AngularJS

 angular.bootstrap(document.getElementById('app'), ['app']);

This is how far I have come so far with the two modules. http://plnkr.co/edit/Euz6fK

Can someone help me?

No comments:

Post a Comment