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) 我正在寻找一种带搜索输入的选择.我用materializecss构建了我的页面,但是这个库不支持这种类型的选择.这是我需要的最好的例子 - https://material.angularjs.org/latest/demo/select#select-header.有人可以帮帮我吗?