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

(새 문서: ;AngularJS 튜토리얼 ==index.html== <source lang='html5'> <!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.mi...)
 
1번째 줄: 1번째 줄:
;AngularJS 튜토리얼
;AngularJS 튜토리얼


==index.html==
==hello.html==
<source lang='html5'>
<source lang='html5'>
<!doctype html>
<!doctype html>

2015년 6월 18일 (목) 18:09 판

AngularJS 튜토리얼

1 hello.html

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
      <h1>Hello {{yourName}}!</h1>
    </div>
  </body>
</html>

2 같이 보기

3 참고 자료

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