. This tells accessibility APIs when a custom control is read-only.</p>
<h3 id="example">Example</h3>
<pre><code class="lang-html">&lt;md-checkbox ng-readonly=&quot;val&quot;&gt;&lt;/md-checkbox&gt;
</code></pre>
<p>Becomes:</p>
<pre><code class="lang-html">&lt;md-checkbox ng-readonly=&quot;val&quot; aria-readonly=&quot;true&quot;&gt;&lt;/md-checkbox&gt;
</code></pre>
<h2 id="ngshow">ngShow</h2>

<p>The <a href="api/ng/directive/ngShow">ngShow</a> directive shows or hides the
given HTML element based on the