Quick preview 

At this point, we will take a quick look at what we have built so far. Currently, our player service returns an empty list of tracks. To see the results, we should add some dummy data to it. For example, in PlayerService, we could add:

constructor() {  this.tracks = [    {name: "Guitar"},    {name: "Vocals"},  ];}

Don't be surprised if it's not pretty; we'll cover that in the next chapter. We also won't cover all the runtime commands available to us yet; we'll cover that thoroughly in Chapter 6Running the app on iOS and Android

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.