Angularjs 如何使卫星导航器使用绝对url';s?

Angularjs 如何使卫星导航器使用绝对url';s?,angularjs,controller,forms-authentication,oauth-provider,satellizer,Angularjs,Controller,Forms Authentication,Oauth Provider,Satellizer,我正在用卫星导航器做一份登记表。 但它没有进入正确的url 我的控制台显示以下内容: 邮政404(未找到) view2.js:185未找到 这是我的config.js: .config(['$routeProvider','$locationProvider','$authProvider',函数($routeProvider,$locationProvider,$authProvider){ $routeProvider //用于登录页 .when(“/view2”{ templateUrl

我正在用卫星导航器做一份登记表。 但它没有进入正确的url

我的控制台显示以下内容:

邮政404(未找到) view2.js:185未找到

这是我的config.js:

.config(['$routeProvider','$locationProvider','$authProvider',函数($routeProvider,$locationProvider,$authProvider){
$routeProvider
//用于登录页
.when(“/view2”{
templateUrl:'view2/view2.html',
控制器:“View2Ctrl”
})
.when(“/activity”{
templateUrl:'view2/activity.html',
控制器:“ActivityCtrl”
})
.when(“/signup”{
templateUrl:'view2/signup.html',
控制器:“UserCtrl”
});
$authProvider.signupUrl=”http://example.com/auth/register";
}])
在配置中设置:

 $authProvider.baseUrl = null;