How to enable remember username and password option for ionic app login screen

how to enable remember username and password option for ionic app login screen

Save the username and authentication token/sessionKey in localStorage: http://diveintohtml5.info/storage.html
(storing the password there isn’t secure, since anyone can look at localStorage)

When the login page loads, look to see if you have data in localStorage. If you do, use it. If not, make the user login.