O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

We have kicked off Part 2 with the component building, where we have laid out our root component app.component.html to house our primary view, where you learned about GridLayout, a very useful layout container.

Angular's Component decorator allowed us to easily build TrackListComponent as well as PlayerControlsComponent. We also learned how to build an Angular Pipe to aid our view's ability to keep our track list in order. Angular's NgModule taught us we need to ensure any view-related declarations needed for any components are imported properly. This Angular design pattern helps maintain module isolation as standalone units of code that can be intermixed by importing modules into each other.

We also enhanced a fair share of our services ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required