-
-
Save selfdeceited/e522d5b66b6500e76413 to your computer and use it in GitHub Desktop.
useful angular hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre ng-init="showPre=true" ng-show="showPre">{{ debugData | json}}</pre> | |
<a href ng-click = "showPre = !showPre">{{showPre? 'Hide' : 'Show'}} debug data</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment