diff -r cef349423167 -r 74bbdd739878 client/app/home/home_controller.js --- a/client/app/home/home_controller.js Wed Jun 11 01:26:59 2014 +0200 +++ b/client/app/home/home_controller.js Thu Oct 02 13:24:57 2014 +0200 @@ -12,6 +12,9 @@ }) .controller('homeCtrl', function($scope, $location){ console.log('5-0',$scope, $location); + $scope.searchSubmit = function(){ + $location.path('/search/' + $scope.q); + }; }); })();