--- a/client/app/books/books_controller.js Thu Apr 02 18:26:43 2015 +0200
+++ b/client/app/books/books_controller.js Thu Apr 02 18:28:31 2015 +0200
@@ -2,7 +2,7 @@
'use strict';
angular.module('ammicoBooks',['ngRoute', 'ui.sortable'])
- .controller('booksCtrl', function($scope, $location, booksModel, $modal, ammicoApi){
+ .controller('booksCtrl', function($scope, $location, $modal, ammicoApi){
$scope.books = ammicoApi.listBooks.query({format:'json'});
$scope.searchSubmit = function(){
$location.path('/search/' + $scope.q);