Recipes with Angular.js: Controllers - Changing a Model Value with a Controller Function