I\'m using Typescript 2.1(developer version) to transpile async/await to ES5.
I\'ve noticed that after I change any property which is bound to view in my async funct
As @basarat said the native ES6 Promise
doesn't know about the digest cycle.
What you could do is let Typescript use $q
service promise instead of the native ES6 promise.
That way you won't need to invoke $scope.$apply()
angular.module('myApp')
.run(['$window', '$q', ($window, $q) => {
$window.Promise = $q;
}]);