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

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

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