Using ui-router
Authentication-Required states
Authentication Persistence - ngCookies