Add fallback support for AngularJS $q if jQuery is undefined
Merge pull request #11 from redapesolutions/angular-version

Use AngularJS $q if jQuery is undefined and AngularJS is defined