Check out example codes for "ng bootstrap input". It will help you in understanding the concepts better.

Code Example 1

<!-- Html -->
<label for="title">Title:</label>
<input id="title" type="text" class="form-control" [(ngModel)]="title" />

<!-- Typescript -->
voteItem: string;

  constructor() { }

Learn ReactJs, React Native from akashmittal.com