type="text" id="display-name"
formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }"
>
- <div *ngIf="formErrors.display-name" class="form-error">
- {{ formErrors.display-name }}
+ <div *ngIf="formErrors['display-name']" class="form-error">
+ {{ formErrors['display-name'] }}
</div>
</div>
templateUrl: './my-account-video-channels.component.html',
styleUrls: [ './my-account-video-channels.component.scss' ]
})
-export class MyAccountVideoChannelsComponent implements OnInit{
+export class MyAccountVideoChannelsComponent implements OnInit {
videoChannels: VideoChannel[] = []
private user: User