Renamed all controlles from 'Ctrl' to 'Controller' to better follow angular best practices.

This commit is contained in:
Hyzual 2014-12-10 22:06:17 +01:00
parent 91b112cb0a
commit 226a768987
12 changed files with 49 additions and 71 deletions

View file

@ -1,7 +1,7 @@
angular.module('jamstash.queue.ctrl', ['jamstash.player.service'])
angular.module('jamstash.queue.controller', ['jamstash.player.service'])
.controller('QueueCtrl', ['$scope', '$rootScope', 'globals', 'player',
function QueueCtrl($scope, $rootScope, globals, player) {
.controller('QueueController', ['$scope', '$rootScope', 'globals', 'player',
function ($scope, $rootScope, globals, player) {
'use strict';
$scope.settings = globals.settings;
$scope.song = $rootScope.queue;