Make karma happy
Fix nasty redirect bug ($location.path clobbered!)