What’s best way to implement login page on current angular template. Currently, the header and the footer are loaded dinamically, as well as some other content.
However, the login page does not contain the same html format so in order to have the same app.js i have to do some conditional formating to the code, something like if the state is login then don’t import tpl/header.html.
Please tell me which is the best way to implement the login page, as simple as possible to the current format.
PS: I want to use login-soft.html and i am using the layout 3.
For login form integrating you should create a new master templates(login.html) following the index.html master templates. Login and after login pages should be separated so you will have login.html and index.html master templates and on successful login you can just redirect to index.html.
For more info you can check below links:
Thanks for your answer, i will follow the links in your comments. The example in stackoverflow is really interesting since it’s clever to use singleton for such an app.
You must be logged in to reply to this topic.