You should probably do `$scope.connectbutton = 'Connect';` here, too