title: like operator in ngresource of angularjs
body: <p>I use Loopback with node to query MongoDB via ngresource of AngularJS.</p>
  
  <p>I wish to implement autocomplete.</p>
  
  <p>Product is my ngResource</p>
  
  <pre><code>Product.find({filter:{where:{name:'search string'}, limit:10}})
  </code></pre>
  
  <p>The above code only search for 'search string' (Not all matching elements)
  Like </p>
  
  <pre><code>'search string2'
  'search string1'
  'search string3'
  </code></pre>
  
  <p>How to search equivalent to mongoDB's </p>
  
  <pre><code>db.Product.find({name:/.*search string*/});
  </code></pre>