title: Show div on selecting an option from drop down list. - Ionic
body: <p>When I run this code, it is supposed to show 2nd div on selecting an option from 1st dropdown list, similarly selecting an option for 2nd dropdown list 3rd div should be shown. But the 3rd div is not visible on selecting a value from 2nd dropdown list. What should I do to make it work. I am only using AngularJs and not JQuery.</p>
  
  <p>Html code:</p>
  
  <pre><code>    &lt;div class="well"&gt;
      &lt;div class="form-group"&gt;
    &lt;select class="form-control" id="sel1" ng-model="Lang1" ng-change="changeMe()"&gt;
          &lt;option ng-option value="1"&gt;Language 1&lt;/option&gt;
          &lt;option ng-option value="1"&gt;Language 2&lt;/option&gt;
          &lt;option ng-option value="1"&gt;Language 3&lt;/option&gt;
    &lt;/select&gt;
      &lt;/div&gt;
          &lt;ion-list&gt;
              &lt;ion-checkbox &gt;Read&lt;/ion-checkbox&gt;
              &lt;ion-checkbox &gt;Write&lt;/ion-checkbox&gt;
              &lt;ion-checkbox &gt;Speak&lt;/ion-checkbox&gt;
          &lt;/ion-list&gt;
  &lt;/div&gt;
  
    &lt;div class="well" ng-if="Lang1 == '1'"&gt;
      &lt;div class="form-group"&gt;
    &lt;select class="form-control" id="sel2" ng-model="Lang2" ng-change="changeMe()"&gt;
          &lt;option ng-option value="2"&gt;Language 1&lt;/option&gt;
          &lt;option ng-option value="2"&gt;Language 2&lt;/option&gt;
          &lt;option ng-option value="2"&gt;Language 3&lt;/option&gt;
    &lt;/select&gt;
      &lt;/div&gt;
          &lt;ion-list&gt;
              &lt;ion-checkbox &gt;Read&lt;/ion-checkbox&gt;
              &lt;ion-checkbox &gt;Write&lt;/ion-checkbox&gt;
              &lt;ion-checkbox &gt;Speak&lt;/ion-checkbox&gt;
          &lt;/ion-list&gt;
  &lt;/div&gt;
  
     &lt;div class="well" ng-if="Lang2 == '2'"&gt;
      &lt;div class="form-group"&gt;
    &lt;select class="form-control" id="sel3"&gt;
          &lt;option&gt;Language 1&lt;/option&gt;
          &lt;option&gt;Language 2&lt;/option&gt;
          &lt;option&gt;Language 3&lt;/option&gt;
    &lt;/select&gt;
      &lt;/div&gt;
      &lt;ion-list&gt;
          &lt;ion-checkbox &gt;Read&lt;/ion-checkbox&gt;
          &lt;ion-checkbox &gt;Write&lt;/ion-checkbox&gt;
          &lt;ion-checkbox &gt;Speak&lt;/ion-checkbox&gt;
      &lt;/ion-list&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>js code:</p>
  
  <pre><code>$scope.changeMe = function(){
         alert(changed);
  };
  </code></pre>