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
Duration
18,393
Views
Show More Show Less
Skills covered in this course
Development Tools Developer AngularJS 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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now