title: sending query based on current route
body: <p>Current solution:</p>
  
  <p>example url:</p>
  
  <pre><code>http://localhost:3000/credit_cards?category=3
  </code></pre>
  
  <p>Application Route:</p>
  
  <pre><code>@controllerFor('creditCards').set 'content', App.CreditCard.find(category_id: getUrlParam('category'))
  </code></pre>
  
  <p>Get Url Params helper:</p>
  
  <pre><code>window.getUrlParam = (name) -&gt;
    paramsString = $(location).attr('search').substring(1)
    urlParamsArray = paramsString.split('&amp;')
  
    for param in urlParamsArray
      paramPair = param.split('=')
      paramName = paramPair[0]
      paramValue = paramPair[1]
      return paramValue if paramName is name
  </code></pre>
  
  <p>Is there something better? Does Ember have it built-in out of the box?</p>
  
  <p>Please note that Ember app is only a part of the app - it sits under its own root container. All the other elements are static.</p>