From d937588775bac542792854bee5fc38cfe4f1aedc Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 2 Feb 2016 22:01:04 -0500 Subject: [PATCH] docs(demos): refactor hide/show-when demos references #5311 --- demos/hide-when/main.html | 37 ++++++++++++++++++++----------------- demos/show-when/main.html | 37 ++++++++++++++++++++----------------- 2 files changed, 40 insertions(+), 34 deletions(-) diff --git a/demos/hide-when/main.html b/demos/hide-when/main.html index 12e4d4c157..b8e0cdf306 100644 --- a/demos/hide-when/main.html +++ b/demos/hide-when/main.html @@ -2,29 +2,32 @@ HideWhen - -
If the platform is Android, it will hide the Apple logo. If the platform is iOS, it will hide the Android logo.
+ +
Hide Icon Per Platform
+

In this example we're using the hideWhen directive to decide whether to hide an icon based on the platform.

-
-
- <div hideWhen="ios"> -
-
-
- <div hideWhen="android"> -
+ + + + + + + +
diff --git a/demos/show-when/main.html b/demos/show-when/main.html index 7454bd151d..9a9cb35887 100644 --- a/demos/show-when/main.html +++ b/demos/show-when/main.html @@ -2,29 +2,32 @@ ShowWhen - -
If the platform is Android, it will show the Android logo. If the platform is iOS, it will show the Apple logo.
+ +
Show Icon Per Platform
+

In this example we're using the showWhen directive to decide whether to show an icon based on the platform.

-
-
- <div showWhen="android"> -
-
-
- <div showWhen="ios"> -
+ + + + + + + +