set up for controlGroup element directive, test still need to be fixed