Skip to content

Commit

Permalink
fix(platform): fire platform ready on app init
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 22, 2016
1 parent 56c2388 commit 963e835
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/app/app-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 963e835

Please sign in to comment.