MCPcopy Index your code
hub / github.com/angular/angular / Redirect

Class Redirect

packages/router/test/bootstrap.spec.ts:183–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182 it('should wait for redirect when initialNavigation = enabledBlocking', async () => {
183 @Injectable({providedIn: 'root'})
184 class Redirect {
185 constructor(private router: Router) {}
186 canActivate() {
187 this.router.navigateByUrl('redirectToMe');
188 return false;
189 }
190 }
191 @NgModule({
192 imports: [
193 BrowserModule,

Callers

nothing calls this directly

Calls 1

InjectableInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…