Renamed all controlles from 'Ctrl' to 'Controller' to better follow angular best practices.
This commit is contained in:
parent
91b112cb0a
commit
226a768987
12 changed files with 49 additions and 71 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue