javascript - ng-table not working | inject error -
i'm getting error when using, ng-table.
angular.js:12332 error: [$injector:unpr] unknown provider: ngtableparamsprovider <- ngtableparams <- tablecontroller
http://errors.angularjs.org/1.4.2/$injector/unpr?p0=ngtableparamsprovider%20%3c-%20ngtableparams%20%3c-%20tablecontroller
the code is,
angular.module('ngtabletutorial', ['ngtable']) .controller('tablecontroller', [ '$scope', '$filter', 'ngtableparams', function ($scope, $filter, ngtableparams) {
...
what correct way of resolving issue ?
remember dependencies case sensitive. ngtableparams
in example injected dependency included ngtableparams
not ngtableparams
Comments
Post a Comment