formations/javascript/angular/exercices/directive-1/index.html
2015-04-09 23:11:56 +02:00

18 lines
580 B
HTML

<html>
<head>
<meta charset="utf8">
<title>Exercice: Création de directive</title>
<link rel="stylesheet" href="lib/leaflet-0.7.3/leaflet.css"></script>
</head>
<!-- Déclaration de l'application -->
<body ng-app="Exo" ng-init="position = {'lat': 47.32758, long: 5.04277}">
<my-map marker="position" style="display:block; height: 600px; width: 800px;"></my-map>
<!-- Import de du framework Angular -->
<script src="../node_modules/angular/angular.js"></script>
<script src="lib/leaflet-0.7.3/leaflet.js"></script>
<script src="app.js"></script>
</body>
</html>