Angular, première partie
This commit is contained in:
@ -9,7 +9,8 @@
|
||||
<div ng-controller="MainCtrl">
|
||||
<label>Question</label>
|
||||
<input type="text" ng-model="question" />
|
||||
<br />
|
||||
<button ng-click="poserQuestion()">Poser la question</button>
|
||||
<br /><br />
|
||||
<b>Votre réponse:</b> <span>{{ response }}</span>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user