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
Very well presented, thanks for sharing your knowledge!
The best teacher by far…thanks!
One of the best tutorial and presentation I ever have. Thanks
Thanks for this tutorial, Really salute your efforts!
I love your tutorial. They are detailed
Very good explanation.Thank you very much !
Awesome Tutorial I have learnt Directive very easily
Very good tutorial. Helped me a lot
Is there any way to use two different elements with *ngIf ng-template approach?
Hello Mosh,
I have a question here, how it will look in the browser if we use hidden instead of *ngIf.
Is it show empty space or it won’t create element on DOM
21:00 because the index of rows starts from 0. So the first row is numbered 0 and the 3rd row is numbered 2, which are even numbers.
0,1,2.
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!
When it comes to Computer programming, 0 is treated a Even. So, in this case, 0 and 2 are even and 1 is odd.
Such a great tutorial
Thank you for the great Tutorial 🙂
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.
In ngSwitch example.
I don’t know if it’s version issue, but the selected value is changed to the default value because the page is reloaded.
Thank you Mosh! I appreciate you.
Hi, i have a question, what is the name of the extension for autocomplete coding?
actually, i m having some problem with splice i think so, it remove like the values in stack
i like your explaination alot! was recommended to me by a friend, and i am also sure to recommend this playlist to anyone learning Angular.
Very clear explanation, thanks a lot Mosh.