I’m working on a project which has login page and the main page(which is consist from your admin1 theme). My question is how do you recommend to implement it, in regarding to the ui-routing usage and in specific to the ui-view.
I can think of several solutions:
1) Define two ng-app (one for login and the other for the main)
How do you recommend to solve it?
Thanks for your feedback on this.
Since the AngularJS version is based on the default HTML version those body classes mandatory in initializing and handling the entire layout. I would suggest you to try to use 2 ng-app to handle login and after login page content. Also you can consider having separate page for login(e.g: login.html) and upon successful login you can redirect your users to main page. If you need any further clarifications please let us know.
I’ve your last solution – separated page for login and main.
You must be logged in to reply to this topic.