在Angular JS不工作路线?

时间:2015-11-02 09:34:33

标签: angularjs

我有以下路由:

.when('/profile/:page/:account', {

templateUrl: function (params) {

var template = '/personal.html';
return template;
},
controller: 'EditController'
})

我的网址链接是:

site.com/profile#/privacy/1

1 个答案:

答案 0 :(得分:0)

您使用了两个参数,但链接只有一个参数值,因此您的网址应该如下所示:

TypeOfImmobile
相关问题