- From: Rouven Weßling <notifications@github.com>
- Date: Mon, 06 Jul 2015 11:50:18 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 6 July 2015 18:50:45 UTC
Well it's tad bit more complicated, but you're right, it's not as bad as I though it would be:
```javascript
$rootScope.$on('$stateChangeStart', function() {
addBusyPromise(new Promise(resolve => {
$rootScope.on('$viewContentLoaded', resolve);
$rootScope.on('$stateChangeError', resolve);
}));
});
```
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/19#issuecomment-118956284
Received on Monday, 6 July 2015 18:50:45 UTC