angular-ui / AngularJS-Atom

An AngularJS package for Github's Atom editor
https://atom.io/packages/angularjs
MIT License
284 stars 49 forks source link

Update js-templates.cson (fix deprecated promise usage) #46

Closed yusijs closed 8 years ago

yusijs commented 8 years ago

As per angular docs:

The $http legacy promise methods success and error have been deprecated. Use the standard then method instead. If $httpProvider.useLegacyPromiseExtensions is set to false then these methods will throw $http/legacy error.

outsideris commented 8 years ago

Very sorry for super late. It looks good.