From 1173e7c9325d81721459ceac427f5ee84aa3cfca Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Wed, 21 Aug 2024 04:36:21 -0400 Subject: [PATCH] docs(angular): add else content (#6716) --- .../angular/content/else@ORdPDad4HWJAfcZuS-7yM.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/else@ORdPDad4HWJAfcZuS-7yM.md b/src/data/roadmaps/angular/content/else@ORdPDad4HWJAfcZuS-7yM.md index 538228489..c79fb04b2 100644 --- a/src/data/roadmaps/angular/content/else@ORdPDad4HWJAfcZuS-7yM.md +++ b/src/data/roadmaps/angular/content/else@ORdPDad4HWJAfcZuS-7yM.md @@ -1 +1,8 @@ -# @else \ No newline at end of file +# @else + +While the `@if` block can be helpful in many situations, it's common to also show fallback UI when the condition is not met. When you need a fallback, similar to JavaScript's else clause, add an `@else` block to accomplish the same effect. + +Visit the following resources to learn more: + +- [@official@Angular Official Docs - @else block](https://angular.dev/essentials/conditionals-and-loops#else-block) +- [@article@Angular If Else Control Flow Blocks Explained](https://ultimatecourses.com/blog/angular-if-else-control-flow-blocks-explained) \ No newline at end of file