now its work with ng-model