Inline injection of  $location dependency

This is the patched version about #29.
I met the same issue on Angularjs 1.2.25, angulartics 0.17.