From d0bebc3f39a2513083fc26beedea77ba1d2a4e81 Mon Sep 17 00:00:00 2001 From: Andrew Stephan Date: Tue, 1 Apr 2014 12:30:41 -0400 Subject: [PATCH] undo previous change --- www/cordovaHTTP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/cordovaHTTP.js b/www/cordovaHTTP.js index 5c0bfc6..634b2e9 100644 --- a/www/cordovaHTTP.js +++ b/www/cordovaHTTP.js @@ -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();