"AngularJS 튜토리얼 - Hello 예제 3B"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
4번째 줄: 4번째 줄:
*[[ng-bind]] 예제
*[[ng-bind]] 예제


<source lang='html'>
<syntaxhighlight lang='html'>
<body ng-app>
<body ng-app>
<label>이름:</label>
<label>이름:</label>
11번째 줄: 11번째 줄:
</body>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js"></script>
</source>
</syntaxhighlight>
<jsfiddle height=180>27knj6wd</jsfiddle>
<jsfiddle height=180>27knj6wd</jsfiddle>



2020년 11월 2일 (월) 02:53 기준 최신판

1 개요[ | ]

AngularJS 튜토리얼 - Hello 예제 3B
  • 1개의 파일로 구성된 예제
  • ng-bind 예제
<body ng-app>
<label>이름:</label>
<input type="text" ng-model="name" placeholder="여기에 이름을 입력하세요">
<h1>안녕 <span ng-bind='name'></span>!</h1>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js"></script>

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}