fix for #117 replaced value with ng-model

replaced `value` attribute with `ng-model`