朋友。 你能帮我吗。
我有角应用程序。 如何我可以从GET添加参数(在前:参数)
into templateUrl(在前参数 - > templateUrl:'/音频/参数') ?
$routeProvider
.when('/audio/:param', {
templateUrl : '/audio/param',
reloadOnSearch : false
})
如果我有URL类型:http://mysite.com/audio/123 我想templateUrl - /音频/ 123
谢谢!
谢谢! 不寻常的想法应用程序。 有一个关于php的网站。我将它转移到角度。 我想我可以使用特定音频的现有页面上传它们作为模板。 继续开发角度标准的使用。 –