src/client/smc/js/controllers/Profile/SignUpCtrl.js
/**
   * @name $scope.signUpWithGoogle
   * @description Validate SignUp fields for Social Auth
   */
@name $scope.signUpWithGoogle
@description Validate SignUp fields for Social Auth
@name $scope . signUpWithGoogle @description Validate SignUp fields for Social Auth
function validateSocialAuthSignUpFields() {
    if (!$scope.user.phone) {
      toastr.error(TEXT_SIGNUP_WARN_INVALID_PHONE);
      return false;
    }
    return true;
  }
function validateSocialAuthSignUpFields ( ) { if ( ! $scope . user . phone ) { toastr . error ( TEXT_SIGNUP_WARN_INVALID_PHONE ) ; return false ; } return true ; }
@name $scope.signUpWithGoogle
 @description Validate SignUp fields for Social Auth
@name $scope . signUpWithGoogle @description Validate SignUp fields for Social Auth