angular.module('collabjs.controllers')
  .controller('RegistrationController', ['$scope', '$location', 'accountService',
    function ($scope, $location, accountService) {
      'use strict';

      $scope.error = false;
      $scope.account = '';
      $scope.name = '';
      $scope.email = '';
      $scope.password = '';
      $scope.confirmPassword = '';

      $scope.register = function () {
        accountService
          .createAccount($scope.name, $scope.email, $scope.password)
          .then(
            function () { $location.path('/').replace(); },
            function (err) {
              $scope.error = err;
              $scope.password = '';
              $scope.confirmPassword = '';
            }
          );
      };
    }]);
@@ -440,16 +440,32 @@
 Account(
+$scope.account, 
 $scope.n
@@ -763,8 +763,9 @@
     %7D%5D);
+%0A

Update RegistrationController.js