.</p>
<p>The compilation is a process of walking the DOM tree and matching DOM elements to
<a href="api/ng/provider/$compileProvider#directive">directives</a>.</p>
<div class="alert alert-warning">
<strong>Note:</strong> This document is an in-depth reference of all directive options.
For a gentle introduction to directives with examples of common use cases,
see the <a href="guide/directive">directive guide</a>.
</div>

<h2 id="comprehensive-directive-api">Comprehensive Directive API</h2>
<p>There are many 