Fixed angular directive for complex ng-repeat expressions