formations/javascript/angular/exercices/directive-1/.solution/index.html

18 lines
589 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>