Inject $q for AngularJS promises
Merge pull request #20 from matiassingers/patch-1

Inject $q for AngularJS promises