import { Component } from '@angular/core' ; import { FormBuilder , FormGroup } from '@angular/forms' ; title @ Component ( { selector : 'form-field-label-example' , templateUrl : 'form-field-label-example.html' , styleUrls : [ 'form-field-label-example.css' ] , } ) export class FormFieldLabelExample { options : FormGroup ; constructor ( fb ) { this . options = fb . group ( { hideRequired : false , floatLabel : 'auto' , } ) ; } }