title: How to disable Angular Drop Down if the model is null or empty?
body: <p>I have an angular DropDown , which is bound to scope variable, which is array. I would like disable the dropdown when the array empty.</p>
  
  <p>HTML</p>
  
  <pre><code> &lt;select class="qtDropDown" ng-model="chartModel" ng-options="riskimp.IndustryName for riskimp in riskImprovement"  ng-change="buildChartData(chartModel)"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>if( $scope.riskProfileModel.riskProfileData.RiskImprovment ) 
   {
  
       //I am doing some chart generation
     }
  
    else  {
  
            return null;
         }
  </code></pre>
  
  <p>I am not sure how to disable the drop down. Can anybody suggest how to do that ?</p>