The checkboxes allow you to select multiple options from a set. The below example is used to select the multiple Angular versions as per your requirement. The example for Check-box controls as following – checkbox.ts - import { Component } from '@angular/core' ; @ Component ({ selector : 'checkbox' , templateUrl : 'checkbox.html' }) export class Checkbox { //Todo - checkbox } And checkbox.html – < mat-card > < mat-card-content > < h2 > Choose Your Angular Version </ h2 > < section > < mat-checkbox [( ngModel )] = "Angular2" > Angular 2 </ mat-checkbox > < mat-checkbox [( ngModel )] = "Angular4" > Angular 4 </ mat-checkbox > < mat-checkbox [( ngModel )] = "Angular5" > Angular 5 </ mat-che...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers