submit() in RegisterCtrl successfully registers a new user
ng-model references user attributes
spec for RegisterCtrl