In my sens you shouldn't do that. 

The | async is a bad practice. 

Prefer using the Elvis operator (myvar?.myproperty) for async variables, 
and initiate your component in the ngOnInit(), or ngAfterViewInit() in some 
cases, instead of the constructor.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/bb5aa54a-56d6-492f-9af5-65c3eaab9812%40googlegroups.com.

Reply via email to