I'm upgrading from Angular 4.0.0 to Angular 5.2.6  i'm facing some problem to get lazy module loading working.  with angular 4.0.0 , it works fine , but now , with 5.2.6 , i getting such an error when clicking my redirecting button :  core.js...
In my current logout call, I have something like this:   getLogoutConfirmation(){    // get confirmation in modal and perform logout    // redirect to login page  }   Issue is, when logout is performed and redirect to login is called, the canDeactiva...
I have the following approach for reset values in a component page. The page "new-edition" will be reset all the values in the component, navigating to another component ("my-editions") then navigate to the original location "new-...
I have a scenario, I would like to pass data from parent component to child component where Services are to be injected only in Parent Component, all the child components are assigned to router links, can make use of @input property but not sure how...
Does the Angular CLI approach to progressive web apps include a way to cache preloaded or lazy loaded modules using a service worker (Progressive Web App) approach?  For example the Angular Router has a PreAllModules strategy, so just curios if this...
I'm displaying a modal using a secondary route. This works fine.  Unfortunately, when I reload the page (or if it gets relaoded after a change in the source) with the modal open I get this error:     TypeError: undefined is not an object (evaluat...
I am hacking on an Angular application.  I'm not developing in Angular, mind you, but customizing the rendered user interface using JavaScript.  I do not have access to the Angular source or build system.  (It's stupid... don't ask.)  I&#...
inside my Angular 8 app , i ve this routing file :  const myRoutes: Routes = [   {path: '', component: FirstComponent , canActivate: [RegistrationSrcdGuard]},   {path: 'FirstComponent ',     component: FirstComponent ,     canActivate...
I try to configure routing in angular 8.x application, with lazy loading and named outlets. I have the next configuration:  main-layout.html  <header>   <app-top-menu></app-top-menu> </header> <mat-sidenav-container autosiz...
I'd like to create the routes array for the Angular router dynamically to conditionally include lazy loaded routes.  app-routing.ts   // fix declaration working perfectly fine - nothing special here const routes: Routes = [   {     path: '...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.