尝试创建DataTable对象但收到错误:
TypeError: Cannot use 'in' operator to search for 'length' in
at isArraylike (http://localhost:9100/bower_components/jquery/dist/jquery.js:539:27)
at Function.jQuery.extend.map (http://localhost:9100/bower_components/jquery/dist/jquery.js:461:14)
at _fnFilterCreateSearch (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:3000:14)
at _fnFilter (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:2936:18)
at _fnFilterComplete (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:2838:4)
at _fnReDraw (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:2090:4)
at _fnInitialise (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:3280:3)
at HTMLTableElement.<anonymous> (http://localhost:9100/bower_components/datatables/media/js/jquery.dataTables.js:6521:5)
at Function.jQuery.extend.each (http://localhost:9100/bower_components/jquery/dist/jquery.js:374:23)
at jQuery.fn.jQuery.each (http://localhost:9100/bower_components/jquery/dist/jquery.js:139:17)
DataTable的声明如
var oL = angular.element('#orderList');
var dt = oL.DataTable();
第二行是抛出错误的地方。