title: Migrated to AngularJs 1.3, child elements in ngRepeat not longer see directive's scope
body: <p>In Angular 1.2, the element inside ngRepeat can see the parent scope's function(isConvoTabActive). However, after I switch to 1.3, this is no longer working. I checked the migration guide but found nothing. How can I fix this without using $parent.isConvoTabActive?</p>
  
  <pre><code>app.directive('myDirective',function(){
    return {
      restrict: 'E',
      scope: {
      },
      controller: ["$scope", "$element", "$attrs",
        function($scope, $element, $attrs) {
            $scope.isConvoTabActive = function(convoId) {           
              return convoId == $scope.indexes.activeConvoId;
            };
        }
      },
      template: "&lt;div ng-repeat='(convoId, convo) in convos'&gt;" +
                    "&lt;div ng-if='isConvoTabActive(convoId)'&gt;&lt;/div&gt;" +
                "&lt;/div&gt;",
      replace: true, // replace the directive element
      link: function (scope, element, attrs) {
              scope.indexes = {
                  "activeConvoId": "111"
              };
              scope.convos = {
                 "111": {
                   "title": "convo 111" 
                 },
                 "222": {
                   "title": "convo 222"
                 }
              };
      }       
    }
  })
  </code></pre>
  
  <blockquote>
    <p>EDIT1
    I tried ng-show, it doesn't work either.</p>
    
    <p>EDIT2
    It works on Plunker. I'm not sure why.
    <a href="http://plnkr.co/edit/7pdp40CQzUqOISwXgN4u" rel="nofollow">http://plnkr.co/edit/7pdp40CQzUqOISwXgN4u</a> </p>
  </blockquote>
  
  <p>:</p>