Use ngmin-brunch and convert array based DI to function DI