Modifies all the controllers to access the Jamstash module through angular instead of a global var.

This commit is contained in:
Hyzual 2014-10-30 22:49:57 +01:00
parent 0729a3a117
commit 85dac2d244
10 changed files with 44 additions and 19 deletions

View file

@ -1,4 +1,8 @@
JamStash.controller('AppCtrl',
'use strict';
var jamstash = angular.module('JamStash');
jamstash.controller('AppCtrl',
function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore, utils, globals, model, notifications, player) {
$rootScope.settings = globals.settings;
$rootScope.song = [];