Modifies all the controllers to access the Jamstash module through angular instead of a global var.
This commit is contained in:
parent
0729a3a117
commit
85dac2d244
10 changed files with 44 additions and 19 deletions
|
@ -1,4 +1,8 @@
|
|||
JamStash.controller('ArchiveCtrl',
|
||||
'use strict';
|
||||
|
||||
var jamstash = angular.module('JamStash');
|
||||
|
||||
jamstash.controller('ArchiveCtrl',
|
||||
function ArchiveCtrl($scope, $rootScope, $location, $routeParams, $http, $timeout, utils, globals, model, notifications, player, archive, json) {
|
||||
$scope.settings = globals.settings;
|
||||
$scope.itemType = 'archive';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue