Alperzkn
Alperzkn

Reputation: 479

Using ngCordova with Angular 2

Can we use ngCordova while developing an app with Angular2?

ngCordova is developed with AngularJS as i know, is it competible with Angular2 also??

Upvotes: 0

Views: 506

Answers (1)

Parth Ghiya
Parth Ghiya

Reputation: 6949

There is ionic-native [https://github.com/driftyco/ionic-native ]

Completely typescript support.

Example as per documentation:

// app.module.ts
import { Camera } from '@ionic-native/camera';

...

@NgModule({
  ...

  providers: [
    ...
    Camera
    ...
  ]
  ...
})
export class AppModule { }

Upvotes: 0

Related Questions