Inline injection of  $location dependency

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