Angular - Template-Driven Forms
Identify the error in this code snippet:
Component:
<input [(ngModel)]="userName">
Component:
export class ProfileComponent {
userName: string;
}