    <div class="container-overview">
      <dt></dt>
      <dd>
        <div class="description">
          {{ description }}
        </div>
        <div class="details"></div>
        <div ht-if="newScope">
          <b>Creates a new scope</b>
        </div>
        <div ht-if="restrict">
            <h5>Restricted on</h5>
            <ul ht-repeat="rest in restrict">
                <li>{{rest}}</li>
            </ul>
        </div>
        <div ht-if="priority">
            <h5>Priority</h5>
            {{priority}}
        </div>
        <div ht-if="eventType">
            <h5>Event type</h5>
            {{eventType}}
        </div>
        <div ht-if="params">
          <h5>Dependencies:</h5>
          <table class="params">
            <thead>
              <tr><th>Name</th><th>Type</th><th class="last">Description</th></tr>
            </thead>
            <tbody>
              <tr ht-repeat="param in params">
                <td class="name" nowrap>{{ param.name }}</td>
                <td class="type"><span class="param-type">
                  {{ param.type && param.type.names.join(" | ") }}
                </span></td>
                <td class="description last">{{ param.description }}</td>
              </tr>
            </tbody>
          </table>
        </div>
        <div ht-if="properties">
          <h5>Properties:</h5>
          <table class="props">
            <thead>
              <tr><th>Name</th><th>Type</th><th class="last">Description</th></tr>
            </thead>
            <tbody>
              <tr ht-repeat="prop in properties">
                <td class="name" nowrap>{{ prop.name }}</td>
                <td class="type"><span class="param-type">
                  {{ prop.type && prop.type.names.join(" | ") }}
                </span></td>
                <td class="description last">{{ prop.description }}</td>
              </tr>
            </tbody>
          </table>
        </div>
        <div ht-if="attributes">
          <h5>Attributes:</h5>
          <table class="params">
            <thead>
              <tr><th>Name</th><th>Type</th><th class="last">Description</th></tr>
            </thead>
            <tbody>
              <tr ht-repeat="attr in attributes">
                <td class="name" nowrap>{{ attr.name }}</td>
                <td class="type"><span class="param-type">
                  {{ attr.type && attr.type.names.join(" | ") }}
                </span></td>
                <td class="description last">{{ marked(attr.description||'') }}</td>
              </tr>
            </tbody>
          </table>
        </div>
        <div ht-if="requires">
          <h5>Dependencies</h5>
          <ul>
            <li ht-repeat="el in requires">{{ el }} Service</li>
          </ul>
        </div>

        <div ht-if="animations">
          <h5>Animations:</h5>
          <pre>{{ animations }}</pre>
        </div>

        <div ht-if="typeof examples !== 'undefined' && examples.length">
          <h5>Example</h5>
          <pre ht-repeat="example in examples" class="prettyprint"><code><span class="str">{{ example.code }}</span></code></pre>
        </div>

        <div ht-if="typeof tutorials !== 'undefined' && tutorials.length">
          <h5>Tutorials:</h5>
          <ul>
            <li ht-repeat="tutorial in tutorials">
              {{tutoriallink(tutorial)}}
            </li>
          </ul>
        </div>
      </dd>
    </div>

    <section>
      <div class="members" ht-if="children.member">
        <h3 class="subsection-title">Members</h3>
        <table class="props">
          <thead>
            <tr><th>Name</th><th>Type</th><th class="last">Description</th></tr>
          </thead>
          <tbody>
            <tr ht-repeat="member in children.member">
              <td class="name" nowrap>{{ member.name }}</td>
              <td class="type"><span class="param-type">
                {{ member.type && member.type.names.join(" | ") }}
              </span></td>
              <td class="description last">{{ member.description }}</td>
            </tr>
          </tbody>
        </table>
        <br/>
        <br/>
      </div>
      <div class="functions" ht-if="children.function">
        <h3 class="subsection-title">Methods</h3>
        <dl ht-repeat="func in children.function">
          <dt>
            <a href="{{ func.sourceUrl }}" class="name-link">
              <h4 class="name">
                {{ func.name }}
                <span ht-if="func.params" class="signature">({{ func.params.map(function(param){return param.name;}).join(", ") }})</span>
                <span ht-if="func.returns && func.returns[0].type" class="type-signature">
                  -&gt; {{ func.returns[0].type.names.join(" | ") }}
                </span>
              </h4>
            </a>
          </dt>
          <dd>
            <div class="description">
              {{ func.description }}
            </div>
            <div ht-if="func.examples && func.examples.length">
              <h5>Example</h5>
              <pre ht-repeat="example in func.examples" class="prettyprint"><code><span class="str">{{ example.code }}</span></code></pre>
            </div>
            <div ht-if="func.params">
              <h5>Parameters:</h5>
              <table class="params">
                <thead>
                  <tr><th>Name</th><th>Type</th><th class="last">Description</th></tr>
                </thead>
                <tbody>
                  <tr ht-repeat="param in func.params">
                    <td class="name">{{ param.name }}</td>
                    <td class="type"><span class="param-type">
                      {{ param.type && param.type.names.join(" | ").replace(new RegExp( String.fromCharCode(60), "g" ), "&lt;") }}
                    </span></td>
                    <td class="description last">{{ param.description }}</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div ht-if="func.returns">
              <h5>Returns:</h5>
              <table class="params">
                <thead>
                  <tr><th>Type</th><th class="last">Description</th></tr>
                </thead>
                <tbody>
                  <tr ht-repeat="ret in func.returns">
                    <td class="type"><span class="param-type">
                      {{ ret.type && ret.type.names.join(" | ").replace(new RegExp( String.fromCharCode(60), "g" ), "&lt;") }}
                    </span></td>
                    <td class="description last">{{ ret.description }}</td>
                  </tr>
                </tbody>
              </table>
            </div>
          </dd>
        </dl>
      </div>
    </section>
