Hello,

I'm trying to achieve this https://toddmotto.com/angular-ngif-async-pipe
but with an `<ng-template [ngIf]="myObservable$ | async as 
myData"></ng-template>`

But this does not work as it, and I couldn't find the syntax for 
ng-template (it works for *ngIf)

I would really appreciate to be able to use it on a ng-template element.

Does any one already do this and could help me ? I couldn't find it in the 
docs either.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to