title: Magento 2 call custom library in select.html
body: <p>I need to call custom library for select. I have an issue calling this library on knockout files. Particularly for select that is being rendered with this file Magento_Ui/templates/form/element/select.html 
  I have tried everything I found online but had no luck. Tried to extended select.js with new function and then call it on afterRender in this file,
  tried usin x-magento-init, and so on. </p>
  
  <p>I need to do this for this select: $('select').select2();</p>
  
  <p>Can someone provide concrete and precise solution for this problem?</p>
  
  <p>Thanks!</p>