Fix ngModel existence check.
Revert "Fix ngModel existence check."

This reverts commit b6ce4e963fc6d7fc7864d24e6cc943bfb1bf2250.
Coding style change.
Merge pull request #2 from atte-backman/fix-model-check

Fix ngModel existence check.