remove unused injected vars like $log, $location etc