support on-change="function" callback on select directive + unit tests