상세 컨텐츠

본문 제목

AngularJs ng option

관리X 과거글

by 까먹기전에 2016. 5. 23. 17:15

본문

반응형

angularJs ng-옵션

=========

 <input type="checkbox" ng-model="myCheck">

<div ng-hide="myCheck"></div>

=========

ng-filters

=========

oderBy : order by array

=========

uppercase : format string to upper case 

=========

ng-repeat x in [  {map} , {map} ]

=========

ng-options=x for (x,y) in { a : {map}  , b : { map } }

x=key y=key.value

=========

 | currency : "HI"  (default = $) : int (소수점 단위)


=========ng-click="orderByMe('name')

=========input option required

 {{myForm.myInput.$valid}} 

=========ng-event===========

ng-blur

ng-change

ng-click

ng-copy

ng-cut

ng-dblclick

ng-focus

ng-keydown

ng-keypress

ng-keyup

ng-mousedown

ng-mouseenter

ng-mouseleave

ng-mousemove

ng-mouseover

ng-mouseup

ng-paste

관련글 더보기