I have a question about integrating Cordova/Phonegap plugins within my Ionic project.
I’m using the PushPlugin and the Local Notifications plugin. I’m unsure as to what would be the right, Angular / Ionic approved way to initialise and use these plugins in the app. My question isn’t specific to these plugins per se but apply to all PG plugins.
Should I initialise plugins in the
$ionicPlatform.ready function? I currently have
$ionicPlatform.ready tied to my home controller, but that means they will be called every time a user views the home screen so that can’t be right.