what is the use of async pipe in angular code example
Example: why async pipe should be used in angular
Async pipe automatically unsubscribes the observable thus saving some lines of code
Async pipe utilizes on push change detection strategy which is good for performance.