title: How do i check if element exists by id with Jasmine?
body: <p>How do i use jasmine to simply check if element exist on the page by id?</p>
  
  <p></p>
  
  <p>I went over the <a href="http://ngmodules.org/modules/angularjs-jasmine-matchers" rel="noreferrer">matchers</a>, <code>toExist()</code> not seems to solve this issue.</p>
  
  <p>This is what i tried:</p>
  
  <pre><code>1. expect(by.id('my-id')).not.toExist();
  
  2. expect($(document)).not.toContain($(#my-id));
  </code></pre>
  
  <p>can you help?</p>