remove $location from dependencies 

we had an issue which appeared as soon as $location gets injected, noticed it's been required several times but not used anywhere