Fixed HRef

This commit is contained in:
Sagi Dayan 2015-06-24 13:42:32 +03:00
parent 5f53e3ff85
commit 049c36c916

View file

@ -7,7 +7,7 @@ angular.module('SeHub')
{
var taskName = name;
console.log("task created! " + taskName);
$window.location.href = 'http://localhost:8080/home#/tasks/new'; // Reference to 'newTask' page
$location.path("/tasks/new"); // Reference to 'newTask' page
}