Skip navigation

Using ngIf and ngFor

Using ngIf and ngFor: Angular2 for .NET Developers
Using ngIf and ngFor: Angular2 for .NET Developers

Get an overview of ngif and ngFor. ngIf removes or recreates a portion of the DOM tree based on an expression. If the expression assigned to ngIf evaluates to false, then the element is removed from the DOM; otherwise a clone of the element is reinserted into the DOM. The NgFor directive instantiates a template once per item from an iterable. The context for each instantiated template inherits from the outer context with the given loop variable set to the current item from the iterable.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Duration
153,432
Views
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 Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month