使用ng-show在div中显示或隐藏div操作:
eg:
<div ng-show= "show">
<span>显示按钮</span>
</div>
1.点击显示按钮
<div ng-click = "show = true">
<button> click show < /button>
</div>
2.点击隐藏按钮
<div ng-click = "show = false">
<button> hide show < /button>
</div>
3.点击显示和隐藏按钮
<div ng-click = "show = =!show">
<button> hide show < /button>
</div>