最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - can't find angular route js on google cdn - Stack Overflow

programmeradmin5浏览0评论

this may seem like a very basic question but I can't seem to find the route angular resources on the google developer cdn (.4.7/angular.route.js) even though the official docs say to find it there (.4.7/docs/api/ngRoute) I know I could use bower or npm to include them in my project, but I wanted to gain the benefits of static files served over a cdn (especially google's)

this may seem like a very basic question but I can't seem to find the route angular resources on the google developer cdn (https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.route.js) even though the official docs say to find it there (https://code.angularjs.org/1.4.7/docs/api/ngRoute) I know I could use bower or npm to include them in my project, but I wanted to gain the benefits of static files served over a cdn (especially google's)

Share Improve this question edited Oct 11, 2015 at 3:09 scniro 17k8 gold badges66 silver badges107 bronze badges asked Oct 11, 2015 at 3:01 zerozero 3,0849 gold badges45 silver badges70 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 19

Change the following...

https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.route.js

to

https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-route.js

difference?

angular.route => angular-route

发布评论

评论列表(0)

  1. 暂无评论