| changeset 54 | ccb586464a6f |
| parent 14 | 4d27fbc3f9df |
| child 55 | 10fd23382e76 |
--- a/client/app/home/home_controller.js Thu Apr 02 12:02:07 2015 +0200 +++ b/client/app/home/home_controller.js Thu Apr 02 12:06:51 2015 +0200 @@ -17,8 +17,7 @@ _this.books = data; }); }) - .controller('homeCtrl', function($scope, $location, booksModel){ - $scope.books = booksModel.books; + .controller('homeCtrl', function($scope, $location){ $scope.searchSubmit = function(){ $location.path('/search/' + $scope.q); };