--- /dev/null
+<h2 ng-if="appliances.retour == 'OK' && products.retour == 'OK'">Instances applicatives par produit : </h2>
+<span ng-if="appliances.retour == 'KO' || products.retour == 'KO'">
+ <h3>Erreur lors de la récupération des instances :</h3>
+ <h3 ng-if="appliances.retour == 'KO'" class="has-error">{{appliances.message}}</h3>
+ <h3 ng-if="products.retour == 'KO' && appliances.retour != 'KO'" class="has-error">{{products.message}}</h3>
+</span>
+<table ng-if="products.retour == 'OK' && appliances.retour == 'OK'" class="table-striped table">
+ <tr ng-repeat="product in products.result">
+ <td class="col-lg-4">
+ <span class="btn btn-primary" ng-click="appliancesForProductShown(product.id)">{{product.name}}</span>
+ <span ng-if="showAppliancesForProduct == product.id">
+ <table ng-repeat="appliance in appliances.result" ng-if="appliance.reference.substring(0,2) == product.diminutif">
+ <tr>
+ <td class="col-lg-2"><a href="#/appliances/{{appliance.id}}">{{appliance.reference}}</a></td>
+ </tr>
+ </table>
+ </span>
+ </td>
+ </tr>
+</table>
\ No newline at end of file