SHARE

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/angular-2-playlist
+ Atom editor – https://atom.io/
+ Download Node.js – https://nodejs.org/en/

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

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W

============ Node.js for Beginners Playlist =============

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

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

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

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

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

13 COMMENTS

  1. I was able to get this to work by adding an extra directory path into the router module

    { path: 'directory', component: DirectoryComponent },
    { path: 'directory/:name', component: DirectoryComponent }

    Not sure exactly why though.

  2. /directory link works but not directory/ryu
    error=> EXCEPTION: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'directory/ryu'
     Any suggestions or help??

  3. I have followed the code in this video, but when I click on the "directory" button (or if I type the URL localhost:4200/directory), I get an error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'directory'. Oddly enough, if I type localhost:4200/directory/ryu, the directory page works. What could be the issue?

  4. Hi. Nice Tutorial. I've been using rc5 version. When i access /directory/ryu url, it redirects me to ROOT url. It does not get the url param.

    Do you know how can i update the directory,.component.ts file?

LEAVE A REPLY

Please enter your comment!
Please enter your name here