Credit Where Credit is Due
Learn about the logic and templating of the MovieCreditsComponent in the Movies application.
We'll cover the following
Let’s focus our attention on developing the necessary logic and templating for the MovieCreditsComponent
.
The MovieCreditsComponent
Our MovieCreditsComponent
will be responsible for displaying the cast and crew credits for a selected movie.
The component logic
Let’s start by adding the necessary scripting for this component by opening the
components/shared-components/movie-credits/movie-credits.component.ts
class and making the following amendments (highlighted):
Get hands-on with 1400+ tech skills courses.