Prepare to bootstrap the AppModule 

We now have a good setup for our feature modules and it's time to bring them all together in our root AppModule responsible for bootstrapping our app. 

Bootstrap only what is needed for your initial view. Lazy load the rest.

It's important to keep the bootstrap of our app as fast as possible. To achieve that, we only want to bootstrap the app with the main features needed for our initial view and lazy load the rest when needed. We know we want our low-level services to be available and ready to use anywhere in the app, so we will definitely want CoreModule upfront.

Our initial view from our sketch is going to start with the player and 2-3 tracks on the list, so the user can immediately playback a mix of ...

Get NativeScript for Angular Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.