Initial value is not applied from ng-model to widget value

When using ng-model, need to make sure that the initial value is set by calling widget.value(ngModel.$viewValue), otherwise it may wait for the next change before it updates correctly.