Angular 2 for Beginners - Tutorial 8 - Passing Data to Components

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

This is an excellent series. Most Angular 2 material is completely unreadable, so thanks for explaining it clearly.

mooseven
Автор

Yes!! Could not find for the life of me a solution for dynamically passing data from parent to child. Thank you!

noahhornak
Автор

I have a function in one service.ts that returns an object. in the component.ts I console log it and get something like :
Object { _isScalar:false, source: {...}, operator {...}}
insted of getting the actual thing that I returned... do you know how to fix this?

RaitonGG
Автор

Thank you so much!.. you made my day :) Your tutorial really give clear idea to start working on Angular2 :) Keep it up..

robindrangangom
Автор

For those of you getting "Can't bind to 'ngfor' since it isn't a known native property" make sure that your IDE (in my case, Webstorm) is not automatically lowercasing the *ngFor.

wulfbak
Автор

Is Angular2 here to stay? Google aren't going to come out with Angular3 or something in six months from now?

sunmustbedestroyed
Автор

How does the child component - get the passed data and uses it for a new calculation.
The constructor of the child class get undefined on trying to access the passed value as this.videos - Any idea ???

redsnakeintown
Автор

Do you usually pass data from root component or is this just for educational purposes? Seems simpler to just import the video class in the playlist component.

hjaltisteinar
Автор

I'm Getting the error
EXCEPTION: Error: Uncaught (in promise): Template parse errors:
Can't bind to 'ngfor' since it isn't a known native property
What is the reason?How to solve it?

priyankaverma
Автор

directives is not working now how to pass data

Dragosknight
Автор

The "table table-hover"-css isn't working for me :/

Mawkler
Автор

I'm Getting the error
EXCEPTION: Error: Uncaught (in promise): Template parse errors:
Can't bind to 'ngfor' since it isn't a known native property

guganbabu
Автор

j'ai rencontre une probleme table-hover

bogoreh
Автор

are you an australian pretending to have an american accent but letting a few m8s slip through or an american pretending to be an australian?

riedstep