D
D
Daria222222021-07-08 12:34:55
Angular
Daria22222, 2021-07-08 12:34:55

Why is async not working in html template?

Async does not work in html template and is highlighted in red.
60e6c620c63d3752765816.png

The proposed solution does not work correctly
60e6c66c2a0e8248627267.png

. It turns out that
60e6c68e1a6e0727409462.png

Error that occurs during debugging
60e6d3f5b3e25590164819.png

I don’t understand how to solve this problem, I can’t google it. I hope someone knows the answer....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-07-08
@e_snegirev

there in the module must be connected@angular/common

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question