fix(analytics): Define Analytics on scope

This commit is contained in:
Sabe Jones
2015-06-22 18:30:47 -05:00
parent 2ce1daffb8
commit f5dfa5f015
2 changed files with 3 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$rootScope.settings = User.settings; $rootScope.settings = User.settings;
$rootScope.Shared = Shared; $rootScope.Shared = Shared;
$rootScope.Content = Content; $rootScope.Content = Content;
$rootScope.Analytics = Analytics;
$rootScope.env = window.env; $rootScope.env = window.env;
$rootScope.Math = Math; $rootScope.Math = Math;
$rootScope.Groups = Groups; $rootScope.Groups = Groups;

View File

@@ -106,6 +106,7 @@
"bower_components/angular-loading-bar/build/loading-bar.js", "bower_components/angular-loading-bar/build/loading-bar.js",
"js/env.js", "js/env.js",
"js/static.js", "js/static.js",
"js/services/analyticsServices.js",
"js/services/notificationServices.js", "js/services/notificationServices.js",
"common/script/public/userServices.js", "common/script/public/userServices.js",
"js/controllers/authCtrl.js", "js/controllers/authCtrl.js",
@@ -132,6 +133,7 @@
"bower_components/angular-loading-bar/build/loading-bar.js", "bower_components/angular-loading-bar/build/loading-bar.js",
"js/env.js", "js/env.js",
"js/static.js", "js/static.js",
"js/services/analyticsServices.js",
"js/services/notificationServices.js", "js/services/notificationServices.js",
"common/script/public/userServices.js", "common/script/public/userServices.js",
"js/controllers/authCtrl.js", "js/controllers/authCtrl.js",