title: how to get selected option values from multi select box in angularjs?
body: <p>I am using multi option selected select box in my angularjs project. But i am not getting all the selected option from the select box. the html code i am using for this is </p>
  
  <pre><code>&lt;select class="form-control crm-select-multiple" multiple="multiple" ng-options="option.name for option in cab.availableOptions track by option.id" ng-model="cab.selectedCab"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>the angular code to print selected value is</p>
  
  <pre><code>var cab = $scope.cab.selectedCab;
  console.log(cab);
  </code></pre>
  
  <p>but it is not printing all selected values, printing only one value. so any idea how to print selected value from multi select box.</p>