Skip to content

Angular 15 Setup #77

@marct83

Description

@marct83

I have upgraded my app to angular 15. I am not using standalone components yet. I have added

This to my main.ts file

bootstrapApplication(AppComponent, {
  providers: [
      provideAnimations(),
      provideEnvironmentNgxLoaderIndicator({
        rotate: {
          duration: 5000
        },
        loaderStyles: {
          'z-index': '9999'
        }
      }),
  ],
}).catch((err) => console.error(err));

And have added this to my component

  providers: [
    provideNgxLoaderIndicator(),
],

Error I'm seeing

Can't bind to 'loader' since it isn't a known property of 'div'.

How do I get this to work. A complete source code example would be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions