Skip navigation

Using a directive from a component

Using a directive from a component: Angular2 for .NET Developers
Using a directive from a component: Angular2 for .NET Developers

Reynald shows that up to this point, we saw how to use our app component as a directive by bootstrapping our root app component, but that technique is only appropriate for our root component. For other components, we'll follow 3 steps. 1. Add the directive to where we want to display the directive components template 2. Identify each directive that is used in the template and add that component to the containers directives array 3. Add the import for the movie list component

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Show More Show Less
Skills covered in this course
Development Tools Developer Angular Visual Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving and will be automatically redirected to LinkedIn Learning to start your free trial.