small directive for manipulating a models value