Created
March 19, 2015 12:27
-
-
Save madstt/3ef596b850c37708f387 to your computer and use it in GitHub Desktop.
ng-show
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
<button ng-show="user.role==='admin'" ng-click="deletePost($index)">Delete Post</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment