Это HTML-код для небольшого фрагмента angular5, в котором я получаю сообщение об ошибке
<mat-form-field class="full-width">
<input matInput *ngIf="formType==='ADD'" [uniqueAttr]="AttributeNamesList" placeholder="{{'DIRECTORY_INTEGRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formControlName="attributeName" [(ngModel)]="addAttributeData.attributeName">
<input matInput [readonly]="true" *ngIf="formType==='EDIT'" placeholder="{{'DIRECTORY_INTEGRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formControlName="attributeName" [(ngModel)]="addAttributeData.attributeName">
<mat-error *ngIf="attributeForm.get('attributeName').invalid && attributeForm?.get('attributeName').touched">
{{ getErrorMessage(attributeForm, validation_messages, 'attributeName', 'attributeName') | translate}}
</mat-error>
</mat-form-field>
Это ошибка в сообщении jasmine
Can't bind to 'formGroup' since it isn't a known property of 'form'. ("e]="errorMessage"></app-reusables-result-message>
<form class="add-attribute-container" novalidate [ERROR ->][formGroup]="attributeForm" (ngSubmit)="onSubmitAddAttr()">
<mat-card>
<mat-card-content>
"): ng:///DynamicTestModule/AddUserAttributeComponent.html@2:49
The pipe 'translate' could not be found ("ll-width">
<input matInput *ngIf="formType==='ADD'" [uniqueAttr]="AttributeNamesList" pl[ERROR ->]aceholder="{{'DIRECTORY_INTEGRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formC"): ng:///DynamicTestModule/AddUserAttributeComponent.html@8:89
Can't bind to 'uniqueAttr' since it isn't a known property of 'input'. ("
<mat-form-field class="full-width">
<input matInput *ngIf="formType==='ADD'" [ERROR ->][uniqueAttr]="AttributeNamesList" placeholder="{{'DIRECTORY_INTEGRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE"): ng:///DynamicTestModule/AddUserAttributeComponent.html@8:53
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("GRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formControlName="attributeName" [ERROR ->][(ngModel)]="addAttributeData.attributeName">
<input matInput [readonly]="true" *ngIf="f"): ng:///DynamicTestModule/AddUserAttributeComponent.html@8:217
The pipe 'translate' could not be found ("buteData.attributeName">
<input matInput [readonly]="true" *ngIf="formType==='EDIT'" pl[ERROR ->]aceholder="{{'DIRECTORY_INTEGRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formC"): ng:///DynamicTestModule/AddUserAttributeComponent.html@9:75
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("GRATION.ADD_ATTRIBUTE.TABLE.ATTRIBUTE_NAME' | translate}}" required formControlName="attributeName" [ERROR ->][(ngModel)]="addAttributeData.attributeName">
<mat-error *ngIf="attributeForm.get('attrib"): ng:///DynamicTestModule/AddUserAttributeComponent.html@9:203
The pipe 'translate' could not be found ("Form.get('attributeName').invalid && attributeForm?.get('attributeName').touched">
{{ [ERROR ->]getErrorMessage(attributeForm, validation_messages, 'attributeName', 'attributeName') | translate}}
"): ng:///DynamicTestModule/AddUserAttributeComponent.html@11:17
The pipe 'translate' could not be found ("d [disabled]="formType==='EDIT'" formControlName="uiType" (selectionChange)="changeUiTypeValue()" pl[ERROR ->]aceholder="{{'USER_PROFILE_SETTINGS.LABLES.UI_TYPE' | translate}}" [(ngModel)]="addAttributeData.uiTy"): ng:///DynamicTestModule/AddUserAttributeComponent.html@17:131
Как решить эту проблему?