client/app/books/books.html
changeset 53 dac1df90b49e
parent 24 21ecbde9e080
child 69 88f76bf93465
--- a/client/app/books/books.html	Thu Apr 02 11:58:19 2015 +0200
+++ b/client/app/books/books.html	Thu Apr 02 12:02:07 2015 +0200
@@ -1,9 +1,10 @@
 <p>Liste des books&nbsp;:</p>
 
 <ul class="row ">
-  <li class="" ng-repeat="i in books">
+  <li class="" ng-repeat="i in books | orderBy:'-date'">
     <div>
        <a class="visite" href="#/books/{{ i.id }}">{{ i.title }}</a>
     </div>
   </li>
-</ul>
\ No newline at end of file
+</ul>
+<a class="btn btn-default" ng-click="addBook()"><span class="glyphicon glyphicon-plus"></span></a>
\ No newline at end of file