Как установить дату истечения срока действия cookie в AngularJS
We want to store User's Authorization information in cookie which should not be lost upon refresh (F5) of browser.
We want to store authorization info in "permanent-cookie" in case user has opted for "Remember Me" check box at the time of log-on.