Login

Lost your password?
Don't have an account? Sign Up

Directives in Angular Applications

?Get the COMPLETE COURSE (60% OFF – LIMITED TIME):

Learn how to use directives to manipulate the DOM in your Angular apps.

TABLE OF CONTENT

00:00 Introduction
00:31 ngIf
06:43 Hidden Property
10:08 ngSwitchCase
16:45 ngFor
21:04 ngFor and Change Detection

RELATED VIDEOS

Angular 4 Tutorial for Beginners

Angular Version History

Angular Material

Angular Animations

MY OTHER COURSES

I have several other courses on web and mobile application development. You can find them all here:

STAY IN TOUCH

https://www.educational.guru

22 comments

    1. dewinchy

      Pretty misleading if you’re a beginner, but yeah, the (EVEN) suffix is rendered if the index of that loop is treated even. The index goes from 0 to 2 in this case, so 0 and 2 are treated even. Not if the label shows an even number!

  1. Alessio Collura

    I like this tutorial, but adding stiffed logic inside a div to reference a dom element “by id”, because we are hip and don’t want to manipulate the dom, is the most stupid thing that angular is forcing on us.

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*