edit-in-place-var-values.html 544 B

12345678910111213
  1. <span ng-click="edit()" class="normal">
  2. <span ng-show="type=='string'">{{getValue()}}</span>
  3. <span ng-show="type=='float'">{{getValue()| number:4}}</span>
  4. <span ng-show="type=='int'">{{getValue()}}</span>
  5. <span ng-show="type=='boolean'">
  6. <span ng-show="value">Verdadeiro</span>
  7. <!--span ng-show="value==''">Verdadeiro</span-->
  8. <span ng-hide="value">Falso</span>
  9. </span>
  10. </span>
  11. <span class="control-group form-group">
  12. <input ng-model="value" type="text" class="input-edit input form-control input-sm" />
  13. </span>