Replace collapsible groups boilerplate html with angular directive

Change-Id: Id47d0ea3dfc466187a14b7da423004f24795826d