Login token with: ngResource, ngCookies, ui.router