title: Angular.js Chosen integration
body: <p>my select inside my angular view where i want to add chosen functionality:</p>
  
  <pre><code>&lt;select ng-options="value for value in deutscheBankEvent.dates" ng-init="" ng-model="chosenA" class="chzn-select"&gt;
   &lt;option style="display:none" value=""&gt;Wählen Sie ein Datum&lt;/option&gt;
   &lt;/select&gt;&lt;br/&gt;
  </code></pre>
  
  <p>my controller: when i inject here the .chosen function, it clears the options.</p>
  
  <pre><code>function Ctrl($scope,$http) {
  
    $scope.text = '';
    $scope.user = {name: '', last: '', location: ''};
    $scope.value = 0;
    $scope.sendForm = function (){
         $http.post('/Submit/To/Url', $scope.data).success(function(data) {
             alert('done!');
         });
      };
  }
  </code></pre>
  
  <p>my footer:</p>
  
  <pre><code>&lt;g:javascript&gt;
   $(".chzn-select").chosen(); $(".chzn-select-deselect").chosen({allow_single_deselect:true});
              jQuery(".adressen1_chzn-select").chosen();jQuery(".adressen0_chzn-select").chosen();
          });
  &lt;/g:javascript&gt;
  </code></pre>
  
  <p>i have no idea, how to get the chosen working. inside controller it clears options and does not apply, the rest does not make any difference. any ideas appreciated</p>