Fixing ngModel bound values not being updated properly.

Fixed #3.