Mac*_*iej 7 javascript angularjs angular-resource
Angular返回控制台错误
encodeUriSegment is not a function
当我在自己的控制器中尝试从angular-resource调用get函数时,就会发生这种情况.看起来像angular-resource找不到这个函数,但它存在于angular.js文件中.我用凉亭安装了角度资源.我在index.html中拥有所需的每个文件路径.
完整的错误消息:
angular.js:13920 TypeError: [horoskopy_App Error] encodeUriSegment is not a function
at http://localhost:3000/bower_components/angular-resource/angular-resource.js:573:30
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2779 次 |
| 最近记录: |