title: Retrieving Angularjs Variable output
body: <pre><code>&lt;div ng-controller="SearchResultsTextCtrl" class="search-text search-results"&gt;
  &lt;div class="title" ng-if="showSearchResultsText &amp;&amp; !showNoResultsMsg"&gt;
              &lt;div id="searchKeyword" class="main"&gt;{{searchKeyword}}&lt;/div&gt;
              &lt;div class="num"&gt;Your search for &lt;span style="font-style: italic"&gt;"{{searchKeyword}}"&lt;/span&gt; returned &lt;span id="searchResultCount"&gt;{{totalResults}}&lt;/span&gt; {{searchResultsText}}&lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="no-results" ng-if="showNoResultsMsg"&gt;
              &lt;div class="title"&gt;SORRY NO RESULTS FOUND&lt;/div&gt;
              &lt;p&gt;Please try again&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p>I'm new to angular so can someone point me in the right direction to how to get the search results from the #searchKeyword dom. Everytime I get the document via jquery('#searchkeyword').html() I get the angular variable of {{searchKeyword}} instead of margret river.</p>