Sometime in @angular app template try to load data which hasn’t been calculated yet and as a result view is empty because data is retrieved after the view is rendered.
🧵👇
▶️ Observables vs Promises
Both Promises and Observablesprovide uswithabstractions that help usdeal with the asynchronousnatureof our applications. However, thereareimportantdifferences between thetwo:
1️⃣ As seen in theexample above, Observables candefineboth the setup and teardown aspects of asynchronousbehavior.