change function now set directly on ng-changed directive