swimlane / angular-data-table

A feature-rich but lightweight ES6 AngularJS Data Table crafted for large data sets!
http://swimlane.github.io/angular-data-table/
MIT License
577 stars 141 forks source link

Adding Angular 1.6 support #259

Open jonshaffer opened 7 years ago

jonshaffer commented 7 years ago

Accounting for lack of $onInit callback in 1.4 #252

jonshaffer commented 7 years ago

Using basic.html as an example you can test angular 1.6 using this branch locally by: 1) Update systemjs angular to 1.6 2) Update related demo $http as follows:

$http.get('/demos/data/100.json').success(function(data) {
  $scope.data = data;
});

to

$http.get('/demos/data/100.json').then(function(response) {
  $scope.data = response.data;
});
reinfi commented 6 years ago

Couldn't this be merged? This would help a lot of people to use this library.