Angular 2 – Displaying async Object data from promise

You do not need any special pipe. Angular 2 suppport optional field. You just need to add ? in your object

{{ (data | async)?.name }}

or

{{(name | async)?}}

Leave a Comment