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

@ -4,7 +4,7 @@ describe("Queue controller", function() {
var player, $rootScope, scope, globals;
beforeEach(function() {
module('jamstash.queue.ctrl');
module('jamstash.queue.controller');
inject(function ($controller, _$rootScope_, _globals_, _player_) {
$rootScope = _$rootScope_;
@ -15,7 +15,7 @@ describe("Queue controller", function() {
// Mock the functions of the services
spyOn(player, "playSong").and.stub();
$controller('QueueCtrl', {
$controller('QueueController', {
$rootScope: $rootScope,
$scope: scope,
globals: globals,