mwaylabs / generator-m-ionic

Advanced workflows and setup for building rock-solid Ionic apps
MIT License
672 stars 135 forks source link

where is '$ionicPlatform.ready'? #520

Open tuanbs opened 7 years ago

tuanbs commented 7 years ago

Hi, I'm new to Ionic 1 so I my question might be silly: where is the statement '$ionicPlatform.ready' in your template? I'm using the template generated by Ionic CLI and I see it has '$ionicPlatform.ready'. I ask this question because when I'm using Protractor to test on simulator, my code inside '$ionicPlatform.ready' block does not execute. So I'm thinking using generator-m-ionic template and hope it should work with Protractor when testing on simulator. Thanks.