An angularjs selectable directive