videoflix-frontend - v0.0.0
    Preparing search index...

    Class AppComponent

    Root application component.

    Acts as the entry point of the Angular application. Provides global layout elements such as navigation, footer, and error toasts, and initializes authentication data on startup.

    Responsibilities:

    • Bootstraps the global app layout.
    • Loads user email data via AuthService at initialization.
    • Provides reactive error handling through ErrorService.

    Selector: app-root Standalone: true

    Implements

    • OnInit
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    destroyRef: DestroyRef = ...

    DestroyRef used to clean up subscriptions when the component is destroyed.

    errorServise: ErrorService = ...

    Injected global error service providing access to app-wide error messages.

    title: string = 'videoflix-frontend'

    Application title, displayed in the main layout or document title.

    Methods

    • Lifecycle hook that runs when the component is initialized.

      Loads all user emails to support async email validation and user data preloading. Ensures cleanup of the subscription on component destruction.

      Returns void