Component Interaction with Services | Services & Dependency Injection | Angular 12+

  Рет қаралды 27,791

procademy

procademy

Күн бұрын

Пікірлер: 37
@dishantrana341
@dishantrana341 10 ай бұрын
I was trying to learn angular to become full stack but no other tutorial are as interesting as this series. i have tried even paid courses but this is best i have found.
@Viva-07
@Viva-07 10 ай бұрын
You are awesome..not sure how I missee your channel all these days..hope u get more reach
@noobCoder26
@noobCoder26 Жыл бұрын
I am learning the most of the useful information about angular from this great Series . Truly the best angular course I came across over the internet .
@alidev6882
@alidev6882 2 жыл бұрын
Sir I am following your Angular series from basics and truly appreciate your efforts on such a amazing and premium content, please keep going and also make a series on Angular Material
@ShashiKumar-sv5gz
@ShashiKumar-sv5gz 2 жыл бұрын
The best indepth Content on angular.Sir please do more on react and redux also.
@meysam8357
@meysam8357 2 жыл бұрын
your vedios are really amazing i learned alot from it please make more videos related to front end field
@mohammedabdulaziz3658
@mohammedabdulaziz3658 2 жыл бұрын
Truly excellent series of services in angular. Your every lecture is informative & covering all things like emit and other.. Really sir , awesome content with dynamic example. Please, keep teaching like this only the way you are going. & I would ask you about one question related to this video. Sir, every time passing an object in emit or passing the date function variable instead of can we use model .ts Ex: name : string Age : number Thank you Great!!!!
@procademy
@procademy 2 жыл бұрын
Yes. That will be a better approach. In this lecture, i just wanted to shown that we can also specify a type like that. But using a model class is the better and cleaner approach. Thanks
@lav4eee
@lav4eee 2 жыл бұрын
@@procademy Sir, can you make a video with this example using a model class? Thank you anyway, your videos are great!
@dineshkumar-kl9gr
@dineshkumar-kl9gr Жыл бұрын
Very good explanation.
@universalworthy2169
@universalworthy2169 Жыл бұрын
wonderful course, thank you very much. Just a little wondering why don't you use Interface in this video?
@hiteshsharma5948
@hiteshsharma5948 4 ай бұрын
Finally merry face revealed 🎉
@danlu1578
@danlu1578 Жыл бұрын
It would be good if you make all your sample codes downloadable!!!!!
@RohitSagar-ke2yn
@RohitSagar-ke2yn Жыл бұрын
Is it mandatory to direct provider from app component or from child component we can use provider and make the connectivity between componenets.
@yogeshmakone6477
@yogeshmakone6477 Жыл бұрын
We can also implement same using @input() and output
@procademy
@procademy Жыл бұрын
Yes. ...but it's easier to use a service than using input/ output decorator....thats what i intended to show through this lecture
@ТимурСафиулов
@ТимурСафиулов Жыл бұрын
Sorry, but did u already have something in style.css (main one)?
@rachanachaturvedi6127
@rachanachaturvedi6127 2 жыл бұрын
Hi your video is amazing and I am enjoying but in this video I am bit confused, always you are using "user" and "users". can you explain where I should give same name or where I can give different name😔 Is it possible to have the code for current video?
@pauleaster5380
@pauleaster5380 Жыл бұрын
Just wondering whether you have to copy paste {name: string, job: string, ...} in several places. Can't you define this somewhere? Also, wouldn't the users array be better defined outside the UserService?
@JuanHeribertoPoquiomaEsquivel
@JuanHeribertoPoquiomaEsquivel Жыл бұрын
(it's late but i think will be worth it for others) yes and yes, creating a user.model.ts (a simple class) would be a better aproach and ... usually we use data service to get the data from a database but for the purpose of this video it's ok
@Mst.EshitaKhatun-y7u
@Mst.EshitaKhatun-y7u Жыл бұрын
When I use a service within constructor that time the component localhost path is not working why it is so??
@narenderkonka9001
@narenderkonka9001 2 жыл бұрын
will mentions services in app module instead of component level ? so will get any disadvantages ?
@procademy
@procademy 2 жыл бұрын
That should not create any issues and i do not think there is any disadvantages. However it's better to have a separate service class file because it provides seperation of concern and also it will keep your module file leaner.
@narenderkonka9001
@narenderkonka9001 2 жыл бұрын
what is difference between eventemitter vs Observables?
@procademy
@procademy 2 жыл бұрын
EventEmitter and observable are two completely different things. You can use observable for handling asynchronous data. On the other hand, you use event emitter to create an event. An event emitter can emit data asynchronously using observable.
@054vijayakumark4
@054vijayakumark4 2 жыл бұрын
❤️❤️❤️❤️
@CHANDRASHEKHAR-hk8sq
@CHANDRASHEKHAR-hk8sq Жыл бұрын
Hi how i can get source code for this for practice
@procademy
@procademy Жыл бұрын
github.com/manojjha86/complete-angular-13-course
@besnik2666
@besnik2666 Жыл бұрын
this one was complicated
@mubasshirraihan8479
@mubasshirraihan8479 2 жыл бұрын
May we get the source code, so that we can practice without writing html and CSS code.
@procademy
@procademy 2 жыл бұрын
Here is the GitHub link for this complete series: github.com/manojjha86/complete-angular-13-course
@Drak0sha13
@Drak0sha13 Жыл бұрын
Юзера гораздо проще через атрибут передать.
@fizamalik7697
@fizamalik7697 2 жыл бұрын
I have done the same thing that you explain in this video but it displays an error in my code and that is ): Compiled with problems:X ERROR src/app/user-detail/user-detail.component.ts:15:3 - error TS2564: Property 'user' has no initializer and is not definitely assigned in the constructor. 15 user:{FirstName:string,job:string,gender:string,country:string,age:number,avatar:string}; ~~~~
@MrDeni23n
@MrDeni23n 2 жыл бұрын
Iirc from Angular 14, Typescript requires you to initialize a property when you create it (give it an initial value). You can fix this by either giving it a value, putting an exclamation mark (eg users!: {name: string...}) or disabling strictPropertyInitialization (which is probably not advisable).
@fizamalik7697
@fizamalik7697 2 жыл бұрын
Can you give me the solution of this problem? @procademy
@procademy
@procademy 2 жыл бұрын
The problem is because the strict mode might be set to true in tsconfig.json file. When the strict mode is true, every property you create in a class must be initialized with some initial value. otherwise there will be a compilation error. To solve this problem Just go to tsconfig.json and set "strictPropertyInitialization": false . or simply assign user property with null. I think that should resolve the problem.
What is Observable | Observables | Angular 12+
14:16
procademy
Рет қаралды 158 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 107 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 19 МЛН
ng-content in Angular | Directives | Angular 12+
12:54
procademy
Рет қаралды 38 М.
@ViewChild in Angular | Data Binding | Angular 12+
19:41
procademy
Рет қаралды 48 М.
Angular Services Explained - Sharing Data Between Components
19:25
Monsterlessons Academy
Рет қаралды 10 М.
Angular Lifecycle Hook in Action | Lifecycle Hook | Angular 12+
29:33
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 211 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 107 МЛН