Ajax error: Cannot read property 'protocol' of undefined
Hi,
I try to replicate the demo code of this page: http://maktouch.github.io/datatables-angular-directive/src/examples.html
but if I change the sAjaxSource attribute value with my api url, I got this error in Chrome console:
TypeError: Cannot read property 'protocol' of undefined
at Ib (http://localhost:8888/bower_components/angular/angular.min.js:120:460)
at r (http://localhost:8888/bower_components/angular/angular.min.js:69:407)
at Function.r.(anonymous function) (http://localhost:8888/bower_components/angular/angular.min.js:73:376)
at options.fnServerData (http://localhost:8888/bower_components/datatables-angular-directive/angular.datatables.js:55:23)
at _fnBuildAjax (http://localhost:8888/bower_components/DataTables/media/js/jquery.dataTables.js:2373:27)
at _fnInitialise (http://localhost:8888/bower_components/DataTables/media/js/jquery.dataTables.js:3117:5)
at HTMLTableElement. I search this issue on the web and I find this solution that work:
http://stackoverflow.com/questions/21347542/cannot-read-property-protocol-of-undefined You know this problem? Can you fix it?
Thank.