title: AngularJS: How to get index value in ng-repeat?
body: <p>I am new is angularjs and i am trying to get the index value in <code>ng-repeat</code> means i want to set <code>md-option</code> value as index value my code is:</p>
  
  <pre><code>&lt;md-input-container class="md-block" flex-gt-sm&gt;
      &lt;label&gt;Filterable Columns&lt;/label&gt;
          &lt;md-select ng-model="visualization.filterable_columns" ng-change="drawFilters()" multiple="true" ng-init="index = 1"&gt;
              &lt;md-option ng-repeat="filterable_column in vm.filterable_columns" value="{{index++}}"&gt;
                  {{filterable_column.label}
              &lt;/md-option&gt;
          &lt;/md-select&gt;
  &lt;/md-input-container&gt;
  </code></pre>
  
  <p>can anyone help me about this?</p>