Great job! I watched ng-content in two other paid courses on Udemy and did not find it as much as simple and clear explanation you did
@futurecodelab8 ай бұрын
Thank you for equipping us with the knowledge and skills needed to master Angular development. Looking forward to diving deeper into this powerful framework with your guidance!
@AshokaJayasekara19 Жыл бұрын
You are explaining the concept very clearly!
@ArifMatubber-km4nv Жыл бұрын
Thank so much for the clearest explanation
@sohininandi9135 Жыл бұрын
crystal clear explanation. 👍
@ahmedm_seada Жыл бұрын
That's a very great example . Thanks
@monayemhossain5356 Жыл бұрын
Awesome tutorial. Hats off.
@sona4612 Жыл бұрын
Wow ❤️❤️ what a clear explanation 🔥🔥
@JamesCarlton-vc2vw7 ай бұрын
Great explanation!
@afzalhossain41422 жыл бұрын
what a teaching!! wow
@klirmio21 Жыл бұрын
very high tier content tbh
@maksat-mad Жыл бұрын
Great video, thank you!
@futurecodelab8 ай бұрын
very clear
@beksultanomirzak98037 ай бұрын
omg thank you so much!
@CHAIMASOMRANI Жыл бұрын
thank you
@dimon.digital Жыл бұрын
Thank you very much! 👍
@nijilnmk7775 Жыл бұрын
super explanation
@muhidcs2 жыл бұрын
Great explanation, thanks!
@bullet75537 ай бұрын
Thanks for this bu may we know if there is available source code so it would be much quicker to try?
@venkatesh-w4y10 ай бұрын
will this work when the child component has set the view encapsulation to shadow dom?
@phileze_ Жыл бұрын
HI there, is there a reason to use ng-content when you can use *ngfor and achieve the same with even lesser code?
@ericculbertson1711 Жыл бұрын
I think having a "brand" variable within the product component, and then providing the 4 brands with an *ngfor is the best way to do this specific example. ng-content would be more flexible if you wanted to sometimes insert different kinds of components for each brand. (e.g. use h1 for iphone, h2 for Samsung, etc)
@Premek00 Жыл бұрын
You can think of ng-content as creating a slot for content, where you can insert anything. You can insert , , or custom components and it will work fine.
@ss_GOAT2 жыл бұрын
Thanks so much!
@yashkumarjani2 жыл бұрын
Helpful Video :)
@SreekanthKaringula Жыл бұрын
what's the use of ng-content still the same lines of code is used here, but the code place is changed into component selector, where is code reusability here.
@kabhishek49612 жыл бұрын
Thank u..
@narenk80772 жыл бұрын
Why your not said this is content projection?
@boydde3de Жыл бұрын
So, when using ng-content I should not apply the styles of that content to the child component, but to the parent component that injects the content in the child? What if I want to predefine the style of the content in the child component to make it easier to re-use?
@codewithdoge Жыл бұрын
You're taking too much time on explaining css and html rather than directly talking about ng content