Fix ngModel existence check.

Currently incorrectly checked.