docs(injector): add docs for $injector.has
fix($location): prevent navigation when event isDefaultPrevented