Angular has released the new '@if' block syntax inspired by Javascript
How does this work?
@if
Similar to JavaScript's if statement, Angular uses
@ifto conditionally hide and show part of a template and its contents
When you need a fallback, similar to JavaScript's
elseclause, add an@elseblock to accomplish the same effect


Top comments (0)