Well, I'm having some troubles with using select2 in Javascript ES6.
When I try to use it, i have an error message "TypeError: element.select2 is not a function.
I have installed angular-select2 with bower, then I imported with the ES6 syntax import and then i injected it in the module.