try to get first the context.token set up by the server. If it doesn't exist, try to get back the token in the local storage. Or get to the login page.
'use strict';
describe("app_controller_test", function(){
it("should assert something",function(){
expect(true).toBe(true);
})
})