Computed signal of all user emails fetched from AuthService.
Used to dynamically validate new user emails for uniqueness.
Angular DestroyRef used to manage subscription cleanup.
Optional email input, typically used when navigating from other flows (e.g. forgot password).
Signal controlling loading spinner during signup submission.
Signal controlling confirm-password input visibility.
Signal controlling password input visibility.
Reactive signup form definition.
Structure:
email: required, valid email format, async uniqueness check.passwords: nested group containing:
password: required, min length 6.confirmPassword: required, must match password.Signal indicating that the signup process completed successfully.
Stores basic user data for display after successful registration.
Lifecycle hook.
Pre-fills the email field if an input value is provided (e.g. redirected from another page).
Handles signup form submission.
Behavior:
email, password, confirmPassword) via AuthService.
Signup component.
Handles new user registration, including:
Selector:
app-signupStandalone:true