angular-ui-notification: $http.get(...).success is not a function angular 1.6
with angular v1.6.0-rc.0
, any use Notification throw
TypeError: $http.get(...).success is not a function
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Fixes #106 — committed to tonylampada/angular-ui-notification by tonylampada 8 years ago
Yes, in Angular 1.6 the
$http Success/Error
callback methods have been deprecated.They should be replaced by
.then(...)
everywhere in this library.Hi ! i’ve updated bower.json to resolve properly for angular 1.5.x and 1.6 of package so untill our PR will be merged to master you can specify fork with fixes in your bower.json file with this line:
in your
dependencies
section.Great! Thank you @MikhailRoot
As @cklemming says, in Angular 1.6
$http Success/Error
callback methods have been deprecated.You should find more info in about changes with $http in migration guide.