Directives and Pipes

Let’s learn how to use directives and pipes in Angular in a service.

At this point, we’ve generated our first service, created a getFeatures method, and added a code call within it. In this lesson, we’ll learn how to use directives and pipes to add service properties to our views and to format the display data respectively.

Below is the updated code. Use this to make this lesson’s changes.

Get hands-on with 1300+ tech skills courses.