AngularJS Hostgroup Form