title: Can a directive delete itself from a parent scope
body: <p>Let's say I have the following code</p>
  
  <pre><code>&lt;div ng-app="app" ng-controller="controller"&gt;
   &lt;div ng-repeat="instance in instances&gt;
    &lt;customDirective ng-model="instance"&gt;&lt;/customDirective&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And my custom directive has an isolated scope, defined as:</p>
  
  <pre><code> app.directive('customDirective', function($log) {
          return {
              restrict: 'E',
              templateUrl: './template.htm',
              scope: {_instance:"=ngModel"},
              link: function($scope) {
              ....
              }
          });
  </code></pre>
  
  <p>In this directive, I have to option to delete it. My question is how can I communicate back to the array instances in the parent scope and tell it to destroy this object and in effect remove the deleted instance from my DOM?</p>
  
  <p>Hope that makes sense.</p>