# Awesome-cordova-plugins with Angular 17

**URL:** <https://forum.ionicframework.com/t/awesome-cordova-plugins-with-angular-17/250171>\
**Category:** Ionic Framework\
**Created:** [December 12, 2025, 7:26pm UTC](https://forum.ionicframework.com/t/awesome-cordova-plugins-with-angular-17/250171 "2025-12-12T19:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fortunella](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/fortunella/32/104704_2.png) [@fortunella](https://forum.ionicframework.com/u/fortunella)\
**Post date:** [December 12, 2025, 7:26pm UTC](https://forum.ionicframework.com/t/awesome-cordova-plugins-with-angular-17/250171/1 "2025-12-12T19:26:15Z")

</div>

I am trying to migrate an existing Ionic v8 app from Angular 16 to Angular 17. After moving all components to be standalone, I am stuck with awesome-cordova-plugins.

In the old Angular 16 version I used NgModules in app.modules.ts and the awesome-cordova-plugins were specified in the providers array:

```auto
@NgModule({
  ...
  providers: [
    FirebaseX,
    Calendar,
    SocialSharing,
    BarcodeScanner,
    ...
  ],
  exports: [
  ],
  bootstrap: [AppComponent]
})

```

In the new Angular 17 version I use ApplicationConfig in main.ts:

```auto
providers: [
  ...
  importProvidersFrom([
    FirebaseX,
    Calendar,
    SocialSharing,
    BarcodeScanner,
    ...
  ]),
  ...
]

```

This code compiles but when start my app with `ionic serve` I get this error message:

```auto
main.ts:17 ERROR NullInjectorError: R3InjectorError(Standalone[AppComponent])[FirebaseX -> FirebaseX -> FirebaseX]: 
  NullInjectorError: No provider for FirebaseX!

```

Is that the correct way to setup awesome-cordova-plugins with ApplicationConfig? Why does the error occur?

---

<div class="post-metadata">

**Author:** ![fortunella](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/fortunella/32/104704_2.png) [@fortunella](https://forum.ionicframework.com/u/fortunella)\
**Post date:** [December 13, 2025, 9:10am UTC](https://forum.ionicframework.com/t/awesome-cordova-plugins-with-angular-17/250171/2 "2025-12-13T09:10:43Z")

</div>

Found the soultion by myself with the help of this [post](https://forum.ionicframework.com/t/how-to-provide-ionic-services-such-as-toast-alertcontroller-etc-into-my-own-standalone-services/248846).

The awesome-cordova-plugins (e.g. FirebaseX) must not be specified inside `importProvidersFrom`, but have to be inserted directly under providers:

```auto
providers: [
  ...
  provideIonicAngular(),
  FirebaseX,
  Calendar,
  SocialSharing,
  BarcodeScanner,
  ...
]

```
