onChange form option

Takes either a function or an angular expression and works
on most types that are actually an input.