docs(tutorial): add that the test also creates a controller
docs(tutorial): add formatting

the string literal {{query}} was missing as it was not enclosed into ``
feat($location): add support for state and title in pushState

Adds $location pushState & replaceState methods acting as proxies to history
pushState & replaceState methods. This allows using pushState to change state
and title as well as URL. Note that these methods are not compatible with
browsers not supporting the HTML5 History API, namely IE<10.