refactor: optimize agSelect2 directive

Closes #194