1
我有這樣的:
$routeProvider
.when('/Customer/:id?', {
templateUrl: templatePath + 'Customer/Detail.html',
controller: 'myAngularJsController',
caseInsensitiveMatch: true
})
.otherwise({
redirectTo: '/defaultroute'
});
的網址是:http://localhost:39765/#/Customer/7
我希望得到我的Detail.html
頁面,在(7)的值angularJs變量,我該怎麼做?
感謝,