li.eity==变量名,默认为false;
<button ng-click="li.eity=true" ng-hide="li.eity">修改</button>
<button ng-show="li.eity==true" ng-click="li.eity=false">保存</button>
<span ng-hide="li.eity">{{li.name}}</span>
<span ng-show="li.eity==true">
<input ng-model="li.name" />
</span>
需要改变的元素也要定义两个,,默认隐藏输入框,,,其值根据点击修改和保存改变显示输入框。。。。