Closed ambujpunn closed 9 years ago
@netanelgilad do you know why this is happening?
I'll be checking that later today.. Probably issues with the newer version of angular-meteor.
On Thu, Apr 2, 2015, 09:03 ambujpunn notifications@github.com wrote:
@netanelgilad https://github.com/netanelgilad do you know why this is happening?
— Reply to this email directly or view it on GitHub https://github.com/netanelgilad/meteor-ionic-example/issues/10#issuecomment-88754246 .
I 've solved the problem. Now it works with the latesr version 1.1. Only urigo:ionic and urigo:angular need to be added. Changed :
Packages to :
meteor-platform
urigo:ionic
urigo:angular
and app bootstrap to :
Meteor.startup(function ()
{
angular.bootstrap(document, ['starter']);
});
angular.module('starter', ['angular-meteor','ionic'] )
.run(['$ionicPlatform',function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if(window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleDefault();
}
});
}])
Hey guys, sorry it took me so long but I updated the example to the latest versions in meteor and angular-meteor. Check it out! should work with no errors at all now.
Thanks @netanelgilad! It's working now :) Btw I've also created a simple git repo that integrates Ionic&Angular with Meteor: https://github.com/ambujpunn/meteorionic
It also does the trick in using @Urigo's urigo:angular
and urigo:ionic
packages. If anyone has such problems again, please feel free to look at both of these repos :)
:beers:
Awesome @ambujpunn! Try PRing the readme of urigo:ionic to reference your example.
Thanks @netanelgilad! I've sent a PR including both our repo's as reference: https://github.com/Urigo/meteor-ionic/pull/41
I cloned the repo and ran a "meteor update". after updating, I ran the app, but then I was given an errors in my console log:
Is there a reason why this is happening?