aboutsummaryrefslogtreecommitdiffstats
path: root/src/AngularPublic.js
diff options
context:
space:
mode:
authorMisko Hevery2011-11-02 16:32:46 -0700
committerMisko Hevery2011-11-14 16:39:33 -0800
commitbd04316a89a0909e7a4e483839d573ce857f7622 (patch)
tree0378c33976ba524b7090a3665cd7729638f1545e /src/AngularPublic.js
parented36b9da3be338fe9eb36f3eeea901d6f51cd768 (diff)
downloadangular.js-bd04316a89a0909e7a4e483839d573ce857f7622.tar.bz2
refactor(services): migrate angular.service -> module
Diffstat (limited to 'src/AngularPublic.js')
-rw-r--r--src/AngularPublic.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index 600f1ef8..64a7bf4d 100644
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -1,16 +1,5 @@
'use strict';
-var browserSingleton;
-
-angularService('$browser', function($log, $sniffer) {
- if (!browserSingleton) {
- browserSingleton = new Browser(window, jqLite(window.document), jqLite(window.document.body),
- XHR, $log, $sniffer);
- }
- return browserSingleton;
-}, {$inject: ['$log', '$sniffer']});
-
-
publishExternalAPI(angular);
//try to bind to jquery now so that one can write angular.element().read()