title: AngularJS. Multiple select JQuery plugin
body: <p>What is proper way to implement this bootstrap select plugin (<a href="http://silviomoreto.github.io/bootstrap-select/" rel="nofollow">http://silviomoreto.github.io/bootstrap-select/</a>) to angular. I have put it in the directive:</p>
  
  <pre><code>App.directive('selectmultiple', [function(){
      return function(scope, element, attributes){
          element = $(element[0]);
  
          element.selectpicker({
  
          })
      }
  })
  </code></pre>
  
  <p>But it's not working. If I write in Chrome console <code>$('.selectpicker').selectpicker({})</code> - proper combobox appear (opened), but a can't close it. 
  Thanks</p>