Added directive to represent form. Recursive obsGroups working properly.