jQuery Select2 plugin adapted to AngularJS way