diff options
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js index f63948d8..8683b379 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -2,15 +2,14 @@  var browserSingleton; -angularService('$browser', function($log){ +angularService('$browser', function($log, $sniffer) {    if (!browserSingleton) { -    // TODO(vojta): inject $sniffer service when implemented      browserSingleton = new Browser(window, jqLite(window.document), jqLite(window.document.body), -                                   XHR, $log, {}); +                                   XHR, $log, $sniffer);      browserSingleton.bind();    }    return browserSingleton; -}, {$inject:['$log']}); +}, {$inject: ['$log', '$sniffer']});  extend(angular, {  | 
