title: How to understand the `terminal` of directive?
body: <p>In this page: <a href="http://docs.angularjs.org/guide/directive">http://docs.angularjs.org/guide/directive</a></p>
  
  <blockquote>
    <h2>Directive Definition Object</h2>
    
    <h3>terminal</h3>
    
    <p>If set to true then the current priority will be the last set of directives which will execute (any directives at the current priority will still execute as the order of execution on same priority is undefined).</p>
  </blockquote>
  
  <p>I don't understand it well. What does <code>current priority</code> mean? If there are such directives:</p>
  
  <ol>
  <li>directive1 with { priority: 1, terminal: false}</li>
  <li>directive2 with { priority: 10, terminal: false}</li>
  <li>directive3 with { priority: 100, terminal: false}</li>
  <li>directive4 with { priority: 100, terminal: true}   // this is true</li>
  <li>directive5 with { priority: 1000, terminal: false}</li>
  </ol>
  
  <p>Please note the <code>directive4</code> has <code>terminal:true</code> and others have <code>false</code>.</p>
  
  <p>If there is a html tag has all of the 5 directives:</p>
  
  <pre><code>&lt;div directive1 directive2 directive3 directive4 directive5&gt;&lt;/div&gt;
  </code></pre>
  
  <p>What's the execution order of the 5 directives?</p>