<html> <head> <meta charset="utf8"> <title>Exercice: inclusion de template</title> </head> <!-- Déclaration de l'application --> <body ng-app="Exo"> <div ng-controller="MainCtrl"> <select ng-options="page.label for page in pages" ng-model="selectedPage"></select> <ng-include src="'pages/'+selectedPage.template+'.html'"></ng-include> </div> <!-- Import de du framework Angular --> <script src="../../node_modules/angular/angular.js"></script> <script src="app.js"></script> </body> </html>