title: Bind an isolated scope property dynamically to an array
body: <p>I create inside the controller the arrays:</p>
  
  <pre><code>$scope.options0=[];
  $scope.options1=[];
  ...
  $scope.options9=[];
  </code></pre>
  
  <p>I use a directive:</p>
  
  <pre><code>myapp.directive('selectedItems',  function() {
      return {   
        scope: {
          temp: '='
        },
        link:function(scope,element){...}
      }
  })
  </code></pre>
  
  <p>and inside the view:</p>
  
  <pre><code>&lt;div selected-items temp="options+$index"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>where $index comes from a previous ng-repeat and gets values between 0 and 9. <strong><em>I want to bind temp with options0 or options1 or ...</em></strong>, according to the $index value. I have tried all combinations. Nothing works. Any idea? </p>