Angular 2 for Beginners - Tutorial 7 - Nested Components

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

When you get min 2:52, directives won't work because Angular was updated.
You will need to:
1) Go to your app.module.ts file 2) import {PlaylistComponent} from 'wherever the file is' 3) then under @NgModule ({}) add PlaylistComponent in under declarations

jairoad
Автор

these tutorials deserve more watch. angular is so exciting framework.

chg_m
Автор

For those having the polyfills error, here is where I went wrong. Firstly within my app.component.ts I had titled the import for core as AppComponent instead of Component. Had also done the same thing for playlist.component.ts . After correcting this I also corrected capitalization of the @Component part.

brandon
Автор

there are error and red line under the path in this two line of code and says that this files are not module
import {video} from './video';
import {playlistcomponent} from './playlist.component';
what should i do ?!

MsMezosoft
Автор

I had been told that Angular is really (unnecessarily) complicated, and now that I see this tutorial I agree, look how much convoluted typing one has to do just to get the basic in place...

vernetto
Автор

Hi, I just started coding in angular2 this month. Fantastic Tut but where did Component directives go?

SynthMan
Автор

In my Components, the templateUrl of app.component.ts file doesn't get updated for the app.component.html. It just shows 'loading...', which is referenced in the index.html file. I'm getting an error in browser saying: "angular2-polyfills.js:332 Error: SyntaxError: Strict mode code may not include a with statement". Code looks exact to yours. Help?

DANJUMA
Автор

Im getting a problem... the page just stays on 'loading ? anyone got an idea how to fix it'

chasec
Автор

datastructure and algorithm (using C++)

Nikhil-gmks
Автор

when i type in this code the 2 words "NEW" arent found, can you help?

this.videos = [
new Video(1, "Angular 2 for Beginners", "f8qBeaGe2S4", "Angular Tutorial"),
new Video(2, "The Big Project", "QJuLAb1dFo0", "Random Stream")

aidanstern
Автор

Great Video Series. Thank You.
I get an error with line - directives: [PlaylistComponent] in app.component.ts file.

the error is:
angular2-polyfills.js:332 Error: TypeError: core_1.component is not a function


Please help.

strokerzmiddleeast
Автор

This is discontinued and the latest version of angular 2, you should use modules etc..

frawel