$q 'finally' not working in IE8

angularjs, q

Solution

Found it: https://github.com/angular/angular.js/commit/f078762d48d0d5d9796dcdf2cb0241198677582c

`$http.get('/myurl')["finally"](handler);`

Problem

Angular 1.2 replaced `always` with `finally` on promises. So what was once this: ``` $http.get('/myurl').always(handler); ``` Now needs to be this: ``` $http.get('/myurl').finally(handler); ``` But I am getting the error "expected identifier" in IE8. How can I make this work in IE8?

Original source

Related problems