title: AngularJS $location.search() not working
body: <p>It's the first time I'm trying to use the $location service in AngularJS in order to check for query string arguments. I've been reading the docs and trying to play a bit with it in Plunkr to see how to use it, but so far I've failed to get it to retrieve any parameters from the query string.</p>
  
  <p>I've been testing it using this plunk <a href="http://plnkr.co/edit/RIFdWa5ay2gmRa6Zw4gm?p=info" rel="nofollow">http://plnkr.co/edit/RIFdWa5ay2gmRa6Zw4gm?p=info</a> </p>
  
  <pre><code>var app = angular.module('myApp', [])
    .config(function($locationProvider) {
      $locationProvider.html5Mode(true); 
    });
  
  angular.module('myApp').controller('myCtrl', function($scope, $location){
      $scope.name = "Andrei";
      $scope.url = $location.host();
      $scope.path = $location.path();
      $scope._params = $location.search();
    });
  </code></pre>
  
  <p>I've read that setting html5Mode(true) on the $locationProvider is required in order to get the $location service to work as "expected" - which I've done, but when setting this nothing works anymore in my plunk (you can set it to false and you'll see the binding are qorking again properly). </p>
  
  <p>Am I missing something regarding the $location service?</p>
  
  <p>Any help or suggestions are appreciated!</p>
  
  <p>Thanks!</p>