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!
@zabiullahahmadi62815 жыл бұрын
checkout mosh hamadani's tutorials also
@mrrishiraj883 жыл бұрын
I second with @Erin Highbaugh. Vishwas is an amazing teacher, explaining otherwise dreadful concepts with love, care and focus.
@ATeluguNerd5 жыл бұрын
For latest versions, assign this to routes array [ { path: '', pathMatch: 'full', redirectTo: '' }, {path: 'departments', component: DepartmentListComponent}, {path: 'employees', component: EmployeeListComponent}, {path: "**", component: PageNotFoundComponent} ]
@annapurnaseelam53245 жыл бұрын
Thanks for that!!
@malavikagopinath7884 жыл бұрын
Thank you 🙏
@mrrishiraj883 жыл бұрын
For path:'', it may be more convenient to redirectTo:'firstSectionOfWebApp' Or not?
@ashmusic6212 жыл бұрын
Works! Thank you.😃
@shreyareddy3059 Жыл бұрын
Thanks!
@HK-sw3vi4 жыл бұрын
this guy be gifted in his teaching methods: clear and concise...
@simonemeloni79675 жыл бұрын
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.
@RCPN5 жыл бұрын
is there any difference between {path: '', pathMatch: 'full', redirectTo: ''} and {path: ''", pathMatch: 'full', redirectTo: '"'} because for me the latter worked.
@kogantieswar52404 жыл бұрын
Thank you , it works
@itz_curiouscompass2 жыл бұрын
Thanks it's working fine now
@mrrishiraj883 жыл бұрын
Gratitude for all your effort, care and knowledge.
@ankurpandey73434 жыл бұрын
redirectTo : '/department' ----->>>> redirectTo : 'department' WORKED FOR ME
@ariaalex90675 жыл бұрын
you are the best ive been suffering to learn these things for days
@shyama56124 жыл бұрын
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.
@dskundan3 жыл бұрын
Thank you Sir, you are excellent... keep up the great work!
@yogeshttiwari26666 жыл бұрын
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
great video! you made it very clear and easy to understand. thanks~
@anilmaurya556 жыл бұрын
You are awesome. Please carry on.
@Juznik13896 жыл бұрын
You are a code/explanation god
@mohanbalasubramani7 жыл бұрын
Awesome tutorial!!! .helps me a lot :) Thank you.
@ioanabondoc38444 жыл бұрын
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?
@costagmc12 жыл бұрын
wonderful explanation. Still After 4 years.
@jeganmuthu69625 жыл бұрын
instead showing error message on same page how to navigate to show only error message in new page without employee buttons and department buttons
@mudrakpatel74686 жыл бұрын
How do I set the default route to be the home page i.e. localhost:4200/ ?
@dailyproviders56066 жыл бұрын
{path : '', redirectTo: '', pathMatch:'full'}
@klaasvg4 жыл бұрын
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.
@kirthimedia52353 жыл бұрын
Very good catch..
@adnankhuwaja12343 жыл бұрын
yeah right
@syn-eewong84606 жыл бұрын
Thank you for your videos!
@chagantisubhash6 жыл бұрын
Great explanation!!
@entertainmentofficial36712 жыл бұрын
Hi sir, while creating component getting below errors PS D:\Study\Medical> ng g c NewMedical -is -it Error: Unknown argument: i
@ai.aspirations5 жыл бұрын
pretty tutorial thanks much Vishwas
@HolyHarmonyOfficial6 жыл бұрын
really great! clearly and effective
@sagarmukherjee4 жыл бұрын
Hi, what to put in redirectTo for paths like # which does not redirect to anywhere?
@ritsk43386 жыл бұрын
Then where we can use prefix value ?
@nikokodzhabashev8076 жыл бұрын
AMAZING! THANK U!
@sreyahepsiba45255 жыл бұрын
Very nice lecture
@Cupofshake6 жыл бұрын
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..
@mayankk28005 жыл бұрын
Are these videos still good for Angular 6+??? Angular 7??
@harsh555 жыл бұрын
yes
@prasunkumarchatterjee34886 жыл бұрын
I have one question. What is the use of prefix?
@mohammadrezarahimi19796 жыл бұрын
would it be possible to enable auto generating caption in video 24 to 29
@HongKimhia5 жыл бұрын
Thanks very much
@yogeshpatidar98227 жыл бұрын
Hey can you please make video on internationalization