The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Build Dynamic Angular 2 Navigation with ngFor

Build Dynamic Angular 2 Navigation with ngFor

1:49
It’s often easier to build out your navigation dynamically so that you have programmatic control of which navigation elements appear (and those which don’t). You can leverage the power of Angular 2’s `*ngFor` directive to build out navigation based on any set of data you provide with urls.
Watch this lesson now
Avatar
egghead.io

It’s often easier to build out your navigation dynamically so that you have programmatic control of which navigation elements appear (and those which don’t). You can leverage the power of Angular 2’s *ngFor directive to build out navigation based on any set of data you provide with urls.

Avatar
Adem ilter

After all I thing we don't need [routerLink]. It is working like blove. We don't need "[ ]" at all.

{{ nav.content }}

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?