use $location to get parameters from url
use $location to get parameters from url

Using angulars built in for dealing with url parameters means it will magically
work with html5mode or not.

fantapop/magic-search,fantapop/magic-search