How do I integrate the the login functionality into whole ionic app. I am currently I am stuck.
I have already a functional app which is separate and not integrated. Now I want to know where to put the code and in which file.
- Firstly I create a login.html inside the create basic template that includes login form.
So currently I am use the rest api to get data to be corrrect or wrong. So once they click login it will show login is successful in the next page. Please let me know how do I integrate this to the whole app. Can you help me please.
Currently I dont have any controllers or routes and whole code is in bootstrap and html.
Codes include login functionality:-
Index.html
AngularJS Posting Login Form .login-form { max-width: 300px; margin: 0 auto; } #inputUsername { margin-bottom: -1px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } #inputPassword { border-top-left-radius: 0; border-top-right-radius: 0; }Please sign in
Username Password </form>
</div>
- Success.html
You have logged in successfully
Please let me know about the steps where to add the code and how it can be implemented using ionic as I am confused with this??