fixed ang depen injection for factories