Changed methods success/error into then/catch to reflect bower-angular changes.
In latest release of angular 1.5.9 success/error methods has been removed, which cause that angular-ui-notification module is broken because of the following error:
TypeError: undefined is not a constructor (evaluating '$http.get(args.template,{cache: $templateCache}).success') (line 61)
Changed methods success/error into then/catch to reflect bower-angular changes.
In latest release of angular 1.5.9 success/error methods has been removed, which cause that angular-ui-notification module is broken because of the following error:
TypeError: undefined is not a constructor (evaluating '$http.get(args.template,{cache: $templateCache}).success') (line 61)