Migrate from deprecated `$http .success` & `$http .error` to `$http .then`
While it's officially deprecated in v1.5.0, the alternative is already implemented in v1.4.5.
.success
& .error
don't allow chaining as normal Promise handling (.then
) do.