[Angular] Angular 1.0 시작하기
< !DOCTYPE html >
< html ng-app >
< head >
< meta charset = "UTF-8" >
< title >Step01_click.html
< script src = "js/angular.js" >
< body ng-init = "count=0" >
< button ng-click = "msg='clicked'" >눌러보셈
< p >{{msg}}
< button ng-click = "count=count+1" >여러번 눌러보셈
< p >< strong >{{count}}번 클릭했네?
from http://heekim0719.tistory.com/163 by ccl(A) rewrite - 2020-03-07 14:21:31
댓글
댓글 쓰기