0
votes

ngTable is not working after adding 'ngTable' as a parameter in module.

Below is my module which was working fine without 'ngTable'

var app = angular.module('myApp', ['ui.router', 'ngMessages']);

Installed ngTable library in a soltuing. Below is my module after adding 'ngTable' as parameter

var app = angular.module('myApp', ['ui.router', 'ngMessages','ngTable']);

Error: angular.min.js:38 Uncaught Error: [$injector:modulerr] [http://errors.angularjs.org/1.4.8/$injector/modulerr?p0=myApp&p1=Error%3A%2…ogleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.min.js%3A19%3A463)]1

1

1 Answers

0
votes

Make sure you have added the references for ngTable

http://cdn.jsdelivr.net/angular.ngtable/0.3.2/ng-table.css
http://cdn.jsdelivr.net/angular.ngtable/0.3.2/ng-table.js

Working Fiddle