Angular 2 for Beginners – Tutorial 7 – Nested Components

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

15 responses to “Angular 2 for Beginners – Tutorial 7 – Nested Components”

  1. Pierluigi Vernetto Avatar

    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…

  2. Simon Jordan Avatar

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

  3. fauzi pradipta Avatar

    this part is not working for me

  4. Jairo Filipe Avatar

    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

  5. Steve Hampton Avatar

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

  6. Felipe Emperor Avatar

    Guys directives : [whatever] don't work anymore, you gotta edit app.modules

  7. Brandon Korenek Avatar

    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.

  8. frawel Avatar

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

  9. DANJUMA9 Avatar

    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?

  10. Strokerz Middle East Avatar

    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
    at eval (http://localhost:3000/app/js/playlist.component.js:25:28)
    at execute (http://localhost:3000/app/js/playlist.component.js:32:14)
    Error loading http://localhost:3000/app/js/main.js

    Please help.

  11. Nirajan Poudel Avatar

    directives:[PlaylistComponent] : directives color not being changed

  12. cihangir ' Avatar

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

  13. James Rao Avatar

    Hi teacher, at the time 2:40, after I code with 'directives: [PlaylistComponent]', I cannot see anything refreshed in the website except 'landing…' Please help. Thanks

  14. Aidan Stern Avatar

    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")

  15. Nikhil Deswal Avatar

    datastructure and algorithm (using C++)

Leave a Reply

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