'use strict';

angular.module('houseBand')

.controller('NameCtrl', function($state){
  this.roomCheck = function(room){
    if(room){
      return $state.go('home', {room: room})
    }
    alert('Please name your band')
    return false
  }
});

@@ -170,16 +170,30 @@
 om: room
+.toLowerCase()
 %7D)%0A    %7D
@@ -227,16 +227,17 @@
 r band')
+;
 %0A    ret

Make room name lower case