Added optional ngModel. Fixes #1