Ajout exo services

This commit is contained in:
2015-04-07 22:38:36 +02:00
committed by Benjamin Bohard
parent 7cbddf946d
commit a6f66208f9
9 changed files with 223 additions and 2 deletions

View File

@ -0,0 +1,20 @@
<html>
<head>
<meta charset="utf8">
<title>Exercice: création de service</title>
</head>
<!-- Déclaration de l'application -->
<body ng-app="Exo">
<div ng-controller="MainCtrl">
<label>Question</label>
<input type="text" ng-model="question" />
<br />
<b>Votre réponse:</b> <span>{{ response }}</span>
</div>
<!-- Import de du framework Angular -->
<script src="../node_modules/angular/angular.js"></script>
<script src="app.js"></script>
</body>
</html>