batarang
batarang copied to clipboard
Root level override of ng-show and ng-hide **for designers**
Somewhere within Baratang's pane, there could be a control:
"ng-show throughout page: all true, all false, leave alone"
"ng-hide throughout page: all true, all false, leave alone"
The "all true, all false, leave alone" is a tri-state radio button.
At a glance, a designer could modify a running app to see the templating permutations.
Refer ancient demo: http://paul-hammant.github.io/StoryNavigator/navigator.html vs http://paul-hammant-fork.github.io/StoryNavigator/navigator.html (angular deactivated)
Also, a blog entry to outline the rationale: http://paulhammant.com/2012/03/12/the-importance-of-design-mode-for-client-side-mvc/