fix(platform): fire platform ready on app init

This commit is contained in:
Adam Bradley
2016-09-22 14:11:06 -05:00
parent 56c2388322
commit 963e83514f

View File

@ -78,6 +78,12 @@ export class IonicApp extends Ion implements OnInit {
if (this._config.getBoolean('hoverCSS', true)) {
this.setElementClass('enable-hover', true);
}
// sweet, the app root has loaded!
// which means angular and ionic has fully loaded!
// fire off the platform prepare ready, which could
// have been switched out by any of the platform engines
this._platform.prepareReady();
}
/**