Changed $injects array to $inject array