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

Implement Structural Directive Data Binding with Context in Angular 2

Implement Structural Directive Data Binding with Context in Angular 2

2:03
Just like in `*ngFor`, you're able to pass in data into your own structural directives. This is done by declaring the variable using a `let` statement then passing context into the `createEmbeddedView` call.
Watch this lesson now
Avatar
egghead.io

Just like in *ngFor, you're able to pass in data into your own structural directives. This is done by declaring the variable using a let statement then passing context into the createEmbeddedView call.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?