Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

using in Ionic #416

Closed
hansgill opened this issue Dec 12, 2015 · 3 comments
Closed

using in Ionic #416

hansgill opened this issue Dec 12, 2015 · 3 comments

Comments

@hansgill
Copy link

Sorry in-advance if this is a dumb question. I'm new to Cordova + Angular + Ionic.

So I came via the deprecated PushPlugin page. I am using Ionic and previously I was using $cordovaPush when bringing in the module into my angular app.

What is the name of the module when referencing it in our angular/ionic app? Here is how I was bringing in the previous deprecated version.

angular.module('services').factory 'Bootstrap', ($http, $q, $cordovaNetwork, $cordovaPush, urls, messageService, User)->
@nicoabie
Copy link

PushNotification but it is not registered as an injectable angular module. It lives on window. Use it inside your factory without any injection for it.

@hansgill
Copy link
Author

Thanks @nicoabie that did the job.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants