Is there any way to get the string "myModel" in my component?
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<input type="text" [(ngModel)]="myModel"/>`
})
export class AppComponent { // how can I access "myModel" here? }