undo previous change

This commit is contained in:
Andrew Stephan
2014-04-01 12:30:41 -04:00
parent 4371f56b43
commit d0bebc3f39
+1 -1
View File
@@ -63,7 +63,7 @@ var http = {
}
};
if (typeof(angular) !== 'undefined') {
if (angular) {
angular.module('cordovaHTTP', []).factory('cordovaHTTP', function($timeout, $q) {
function makePromise(fn, args, async) {
var deferred = $q.defer();