What's practical difference between ngIf
and ngSwitch
? Both directives manipulate the DOM, but ngSwitch
is more verbose. Is the typical case to just use ngIf
unless you need something really big in which case use ngSwitch
?
Is there a situation where ngSwitch
and ngIf
are not direct replacements? Or is their only practical difference the syntax?