Angular 2 Tutorial #19 - Directives Introduction

preview_player
Показать описание
Hey gang, in this Angular 2 tutorial we'll take a look at directives, and the difference between structural directives and attribute directive. We'll also run through the ngIf and ngClass directives as an example.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage...

========== PSD to WordPress Playlist ==========

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

Definitely need an update on this series, please... you're the best sensei for this kind of tutorial.

asmoc-shark
Автор

I wish you would come out with the updated Angular tutorials!! That would be amazing!

annahisenberg
Автор

Sensei... I need Angular 8 tutorials... please!! Your explanation is great!

SasukeUchiha
Автор

Hey @NetNinja! Why is that if I copy the style to app.component.css, the styles aren't working?. Why always the style should be within the app.component.html?

ramajseethu
Автор

What font are you using? Great tutorial by the way!

Ackar
Автор

Hi Ninja, thanks a bunch for the tutorials, i subscribed :). After watching this specific i was wondering why you created classes in HTML and not in the directory CSS file. Is there a functional reason or is it just personal preference?

Woutrem
Автор

Add CommonsModule from @angular/commons in app.module.ts if getting error: can't bind ng class since it is an unknown property of <tagname>"

yatharthkundra
Автор

I kept googling "Hixtima Property" until I finally realized he said "HTML Property" @38s

hyoomanmaol
Автор

why do you use {'red': true, 'blue': false, 'underline': false} as opposed to {red: true, blue false, underline: false}. is the quotation marks required for the object literal key? I find both ways do work. just want to clarify.

yanhu
Автор

I made a git repository for the code that gets generated during this lesson. You can get it like this:


bessiemalek
Автор

underline didn't work but blue and red worked. Strange!!

pukka
Автор

Make a latest Angular 6 tutorial too..?

sarthaktuteja