title: AngularJs find link by rel attribute is not working
body: <p>If I try this:</p>
  
  <pre><code>$document.find('link')
  </code></pre>
  
  <p>It lists this:</p>
  
  <pre><code>JQLite(9) [link, link, link, link, link, link, link, link, link]
  </code></pre>
  
  <p>But if I try this:</p>
  
  <pre><code>$document.find('link[rel="canonical"]')
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$document.find('link[rel="stylesheet"]')
  </code></pre>
  
  <p>or any other <code>link</code> present on the page, I get this:</p>
  
  <pre><code>JQLite {} 
  </code></pre>
  
  <p>and I don't know why and my head is about to explode because I tried all sorts of staff with no success. Basically I try to update the canonical tag if it exists.</p>