Created
April 24, 2017 21:43
-
-
Save JudahGabriel/a2d0071eb3e1056a0f02303546c3dc98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.run([ | |
"$q", | |
function ($q: ng.IQService) { | |
// Use Angular's Q object as Promise. This is needed to make async/await work properly with the UI. | |
// See http://stackoverflow.com/a/41825004/536 | |
window["Promise"] = $q; | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment