client/app/books/books_controller.js
changeset 57 388b29d38b44
parent 55 10fd23382e76
child 65 8116c2b28414
--- 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);