As far as I can tell, you're not using `$window` or `$routeParams`