Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Thanks, I'm new to Angular and confused with Angular 17, can you show me how to create the upload image function as a service
Create a service with Ng g service, copy the code there including the inject. And it should work fine.I've used this pattern in my Angular sign up with firebase series, so you can also refer to that.
Can you make this in aws s3 bucket?
I've not worked with it myself, but I believe you can do this with any storage service
@@ZoaibKhan Thanks collab soon.🥰 I already did.☺️
Always a bad idea to put functions in the html. Big performance hit..
It's a signal, not a function :)
You have components. Use them. Don’t put the html in the template of the TS file.
Thanks for your comment! I prefer using single file components (SFCs) and keeping my components small for various reasons.
Thanks, I'm new to Angular and confused with Angular 17, can you show me how to create the upload image function as a service
Create a service with Ng g service, copy the code there including the inject. And it should work fine.
I've used this pattern in my Angular sign up with firebase series, so you can also refer to that.
Can you make this in aws s3 bucket?
I've not worked with it myself, but I believe you can do this with any storage service
@@ZoaibKhan Thanks collab soon.🥰 I already did.☺️
Always a bad idea to put functions in the html. Big performance hit..
It's a signal, not a function :)
You have components. Use them. Don’t put the html in the template of the TS file.
Thanks for your comment! I prefer using single file components (SFCs) and keeping my components small for various reasons.