Q:

AngularJS $location.search() not working

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.
I've been testing it using this plunk http://plnkr.co/edit/RIFdWa5ay2gmRa6Zw4gm?p=info 
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();
  });

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). 
Am I missing something regarding the $location service?
Any help or suggestions are appreciated!
Thanks!

A:

In AngualarJS 1.3 $location in HTML5 mode requires a <base> tag to be present so that it knows the path that all of the links are relative to.  You can add <base href="/" /> to get it working again.
http://plnkr.co/edit/j9rd1PajNLQVJ8r4c8BZ?p=preview

