IIFE syntax and $inject dependencies