I recently tried to port my project based on ionicframework to meteor using the Urigo/meteor-ionic package.
Based on this example: it seems the runtime has access to both a angular
and a angularMeteor
variable. That last one is inserted through a global-imports.js file.
angularMeteor = Package['urigo:angular'].angularMeteor;
Which one should I be using ? When is this line added to the global-imports.js file ?
Controllers should be defined under the app's module.
This is the best practice and also how the angular-meteor examples work.
I've opened an issue in meteor-ionic to update the example: https://github.com/netanelgilad/meteor-ionic-example/issues/3