From 00799bc6f632e1dd68242afcfcbf5a2bb98f2c21 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Mon, 3 Mar 2014 21:30:24 +0100 Subject: [PATCH] Use ng-switch instead of ng-show for some stuff (perf) ng-switch does not actually generate and insert DOM nodes when unswitched while ng-show=false does. This improves performance quite a bit, but sacrifices collapsed animations (although this would be fixable). --- index.html | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 334e1c1..4819f73 100755 --- a/index.html +++ b/index.html @@ -371,9 +371,9 @@ - + -