ngSwitch
ngSwitch directive is very simmilar to switch statement in anyother programming language
the only differnce is is Angular we are rendering Some html instead of some logic
We have to use ngSwitch when we gona compare different values if we need to compare 2 values we Use ngIf statement
Syntax
[ngSwitch]
*ngSwitchCase
No doubt, giving food to a hungry person is indeed a great donation, but the greatest donation of all is to give education. Food gives a momentary satisfaction where as education empowers the person for the rest of his life and enables him to earn his own food.
Let's gift education together
/ @codeme7553