Inline injection of  $location dependency