Currently the build script for the router sets the RouteConfig and CanActivate annotation functions on angular inside the router factory. Setting these annotations outside the factory would allow them to be used to build the component annotations before the router is instantiated.