Bugfix for angular promise support
Merge pull request #95 from mhennings/fix-promise-use

Add support for current angular promise support