title: Getting an error "has no method 'contains'"
body: <p>I am trying to use the following code snippet: </p>
  
  <pre><code>console.log(config.url);
  if (config.method === 'GET' &amp;&amp; config.url.contains("/Retrieve")) {
  </code></pre>
  
  <p>It outputs:</p>
  
  <pre><code>/Content/app/home/partials/menu.html app.js:255
  TypeError: Object /Content/app/home/partials/menu.html has no method 'contains'
      at request (http://127.0.0.1:81/Content/app/app.js:256:59)
  </code></pre>
  
  <p>However this is giving me and error with the word ".contains". Anyone have any idea why I am getting this message?</p>
  
  <pre><code>has no method 'contains'
  </code></pre>
  
  <p>Does anyone have any idea why I might be getting this message?</p>