These are chat archives for angular/angular-2-ionic-2

15th
Aug 2017
Ash
@ashgibson
Aug 15 2017 03:32
where’s the best place to put dev/production variables?
yanxiaodi
@yanxiaodi
Aug 15 2017 06:19
@theatrain I use a globalService to store some global variables, and inject it to the pages.
Oshadha Gunawardena
@RockyRx
Aug 15 2017 13:47
Why installing a custom developed Cordova plugin gives an error: Cannot find module "cordova/exec"
using ionic cordova plugin add ../cordova-plugin-example after cloning
UncertaintyP
@UncertaintyP
Aug 15 2017 14:22
@RockyRx the plugin requires cordova/exec this is defined in cordova-ios and cordova-android npm packages
UncertaintyP
@UncertaintyP
Aug 15 2017 14:30
A lot of plugins require cordova/exec so this shouldn't be a problem in general
Oshadha Gunawardena
@RockyRx
Aug 15 2017 16:43
@UncertaintyP cordova-android npm packages are there in my node_modules

and I'm using it like this: ```import { ModusEcho } from 'modusecho/www/ModusEcho';

@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {

constructor(public navCtrl: NavController, public modusEcho: ModusEcho) {

}

}```