 
 			$scope.cancel = () ->
 				$modalInstance.dismiss('cancel')
-	]+	]

		$scope.deleteAccount = () ->
			modalInstance = $modal.open(
				templateUrl: "deleteAccountModalTemplate"
				controller: "DeleteAccountModalController"
			)
	]


				, 700

			$scope.checkValidation = ->
				$scope.state.isValid = $scope.state.deleteText == $scope.email

			$scope.delete = () ->
				$scope.state.inflight = true
