use ng-form instead of form so the component can be nested in other
forms