angular/modules/angular1_router
Peter Bacon Darwin adef68b4d6 refactor(angular_1_router): remove directiveIntrospector
The directiveIntrospector was a bit of a hack to allow the router to
read the `$routeConfig` annocation and `$routerCanActivate` hook from
directives when they were registered.

It turns out that if we put these properties on the component controller's
constructor function (i.e. as static class methods) then we can simply
use the `$injector` to access it as required.

Currently, people put the properties directly on their component definition
objects. In Angular 1.5.1, we will copy these properties onto the controller
constructor to maintain a simple migration path. But going forward it may be
better to encourage people to add the properties directly to the controller
constructor.
2016-03-09 21:50:24 +00:00
..
lib fix(angular1-router): add missing wrapper methods 2016-02-08 17:19:50 -08:00
src refactor(angular_1_router): remove directiveIntrospector 2016-03-09 21:50:24 +00:00
test refactor(angular_1_router): remove directiveIntrospector 2016-03-09 21:50:24 +00:00
build.js fix(angular_1_router): Renamed require statements after TypeScript files are transpiled 2016-03-04 09:31:24 +00:00
index.html fix(angular1_router): rename $route service to $rootRouter 2016-02-24 21:15:34 +00:00
karma-router.conf.js chore(build): use Chrome by default for all JS tests 2015-11-19 23:27:42 +00:00
tsd.json chore(typings): use mainline DefinitelyTyped repo rather than a fork. 2016-02-04 22:42:40 +00:00