fixed input binding for ng-model