I have a problem to convert string to HTML code. I just want to convert   to HTML code, This value set from variable String. this is my code
ngOnInit(){
    this.submitButtonText = 'Save';
    this.spaceMenu= '   ';
    this.form = this.fb.group({
        'id': [],
        'name': ['', Validators.compose([Validators.required,Validators.minLength(3)])],
        'description': []
    });
    this.name = this.form.controls['name'];
    this.description = this.form.controls['description'];
    this.service.getMenuGroup()
        .subscribe(
            data => this.setMenuGroup(data['menuGroup']),
            err => this.logError(err),
            () => this.finishedGetIndexList('Save')
        );
        this.statusForm = 'Add';
        if(this.id){
            this.fetchData();
        }
    }<div *ngFor="let item of menuList" [ngClass]="class">
    <label class="checkbox-inline custom-checkbox nowrap">
        <md-checkbox
        [name]="checkboxMenu"
        [checked]="(_checkingList(item,selectedMenu))"
        [indeterminate]="(_checkIsIndeterminate(item,selectedMenu))"
                                            (change)="_onChange(item,$event)"
        [disabled]="true">
        {{item.name}}
        </md-checkbox>
    </label>
</div>this.spaceMenu, it is a string variable that holds a value  . I want to insert it before <md-checkbox.
If anyone could help me ?
 
     
     
    