I implemented the following set in my template:
<input type="checkbox" [(ngModel)]="something" />
<span *ngIf="something">I'm shown when the checkbox is checked!</span>
I have not declared a variable called something anywhere in my component. Still the checkbox and span are working as expected. Can someone please explain how this can be? Is some property created under the hood? Where and when is this happening?
I'm using WebStorm and a Chrome browser.