Fix but with injecting $location.
  - injector is created  with element passed to the bootstraper