What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-20 07:58:11
404 page setup in angular routing
/* 404 Page not found page setup in Angular Routing */ $ ng generate component notfound Next, open the src/app/app-routing.module.ts file and add these two routes: const routes: Routes = [ // [...] {path: '404', component: NotFoundComponent}, {pa... Add solution -
-
Javascript 2021-10-28 18:43:13
creare component in anglar
ng generate component [component-name] Add solution -
Javascript 2021-10-24 04:49:06
angular navigate using component
//ng new routing-app --routing //ng generate component first //ng generate component second import { Router } from '@angular/router'; ... export class AboutUserComponent implements OnInit { user: User; constructor( private route: Activated... Add solution -
Best helpers
Ranking is empty