I have the following code
$scope.insertTodo = function(){
TodoService.post($scope.todo);
$location.path("/#/");
}
It should run TodoService.post() (and he does fine) and after that redirect the user to /#/ location.
The redirect is not working. What am i doing wrong ?
Thank you.