Thank you for all your Angular videos. You are an excellent teacher! I've been through so many videos about Angular 2/5 and you are the first person to actually explain concepts in a clear and concise manner. Thanks again!
For the updated versions the routes must be added in the following precise order: const routes: Routes = [ {path: '', pathMatch: 'full', redirectTo: ''}, {path: 'departments', component: DepartmentListComponent}, {path: 'employees', component: EmployeeListComponent}, {path: '**', component: PageNotFoundComponent} ]; otherwise it puts the string "Page Not Found" in the "home" page localhost: 4200, instead of typing localhost: 4200 / test as the tutorial says.
is there any difference between {path: '', pathMatch: 'full', redirectTo: ''} and {path: ''", pathMatch: 'full', redirectTo: '"'} because for me the latter worked.
wildcard route works but, error-page content always visible on the home page. And this only on the home page whenever I redirect it to another page like employee-list or departments then the only page's content visible but as soon as I redirect on the homepage error-page content reflects again How to fix it...??? Please answer
sorry, I have a question - how in the PageNotFound component you could overwrite all page in order to appear only the 'not found' message, and not also the 2 buttons?
Great tutorial series. I noticed one thing, leaving out the import routingComponents from the app.module.ts has no effect on the application. And commenting out the line: //export const routingComponents = [DepartmentListComponent, EmployeeListComponent]; from app-routing.moules.ts neither, the application still works normally.
Hello, how can I implement that role based navigation. E.g. If user has not logged in, cannot access into routes. If I try to enter any route directory, it redirects into login page..
Thank you for all your Angular videos. You are an excellent teacher! I've been through so many videos about Angular 2/5 and you are the first person to actually explain concepts in a clear and concise manner. Thanks again!
checkout mosh hamadani's tutorials also
I second with @Erin Highbaugh.
Vishwas is an amazing teacher, explaining otherwise dreadful concepts with love, care and focus.
For latest versions, assign this to routes array [ {
path: '',
pathMatch: 'full',
redirectTo: ''
},
{path: 'departments', component: DepartmentListComponent},
{path: 'employees', component: EmployeeListComponent},
{path: "**", component: PageNotFoundComponent} ]
Thanks for that!!
Thank you 🙏
For path:'', it may be more convenient to redirectTo:'firstSectionOfWebApp'
Or not?
Works! Thank you.😃
Thanks!
this guy be gifted in his teaching methods: clear and concise...
For the updated versions the routes must be added in the following precise order:
const routes: Routes = [
{path: '', pathMatch: 'full', redirectTo: ''},
{path: 'departments', component: DepartmentListComponent},
{path: 'employees', component: EmployeeListComponent},
{path: '**', component: PageNotFoundComponent}
];
otherwise it puts the string "Page Not Found" in the "home" page localhost: 4200, instead of typing localhost: 4200 / test as the tutorial says.
is there any difference between {path: '', pathMatch: 'full', redirectTo: ''} and {path: ''", pathMatch: 'full', redirectTo: '"'} because for me the latter worked.
Thank you , it works
Thanks it's working fine now
Beautiful explanation of path match. Thank you Vishwas. I've seen many tutorials, not one of them explained the order and the match prefix/full.
redirectTo : '/department' ----->>>> redirectTo : 'department' WORKED FOR ME
Gratitude for all your effort, care and knowledge.
you are the best ive been suffering to learn these things for days
You are awesome. Please carry on.
Thank you Sir, you are excellent... keep up the great work!
wildcard route works but, error-page content always visible on the home page. And this only on the home page whenever I redirect it to another page like employee-list or departments then the only page's content visible but as soon as I redirect on the homepage error-page content reflects again How to fix it...??? Please answer
add -> {path: "", pathMatch: 'full', redirectTo: ""},
You are a code/explanation god
wonderful explanation. Still After 4 years.
great video! you made it very clear and easy to understand. thanks~
Awesome tutorial!!! .helps me a lot :) Thank you.
Very nice lecture
pretty tutorial thanks much Vishwas
sorry, I have a question - how in the PageNotFound component you could overwrite all page in order to appear only the 'not found' message, and not also the 2 buttons?
Thank you for your videos!
AMAZING! THANK U!
Great explanation!!
instead showing error message on same page how to navigate to show only error message in new page without employee buttons and department buttons
really great! clearly and effective
Great tutorial series. I noticed one thing, leaving out the import routingComponents from the app.module.ts has no effect on the application. And commenting out the line:
//export const routingComponents = [DepartmentListComponent, EmployeeListComponent];
from app-routing.moules.ts neither, the application still works normally.
Very good catch..
yeah right
Thanks very much
How do I set the default route to be the home page i.e. localhost:4200/ ?
{path : '', redirectTo: '', pathMatch:'full'}
Marvelous
Thank you..
You are great.
Then where we can use prefix value ?
Hi, what to put in redirectTo for paths like # which does not redirect to anywhere?
Hi sir,
while creating component getting below errors
PS D:\Study\Medical> ng g c NewMedical -is -it
Error: Unknown argument: i
Hello, how can I implement that role based navigation. E.g. If user has not logged in, cannot access into routes. If I try to enter any route directory, it redirects into login page..
Hey can you please make video on internationalization
I have one question. What is the use of prefix?
Are these videos still good for Angular 6+??? Angular 7??
yes
would it be possible to enable auto generating caption in video 24 to 29
Are you have a courses on Udemy??
Thanks.
thankz
please do sidemenu and navigation menus.
can you please open auto-subtitles ?
5:10
problem with sub in this video
i guess no difference from Angular 4
Subtitles plz