Use $state instead of $location (ui-router).

Fixes navigation in the schedule view.