An angular form validator