In this tutorial we going to talk about Tree-Shaking and what makes services which decorated with @Injectable({ providedIn: … }) tree-shakable. We will have a look what is tree-shaking concept and how it works and I will give you some hint how to make your code tree-shakable. After this we will get back to Angular context and figure out why Angular can remove services which we are not using in our application. Hope you will like it and enjoy watching :)

📣 Become a Pro in Angular Material Theming (Advanced Workshop) 📣:
http://bit.ly/angular-material-theming-workshop
Use 20%-off coupon code: HELLO-SUMMER-2021

📷 Also subscribe to my Instagram:
https://www.instagram.com/decodedfrontend

⚠️ If you are working with GraphQL? Then check out my video course about Hasura GraphQL Engine with the lowest possible price:
✅ 20%-off with HASURA-EASY-START code: https://bit.ly/complete-hasura-course
✅ SkillShare with 14 Days Free Trial: https://skl.sh/3fahki2

#webdevelopment #angularcourse #frontend #angularmaterial

#webdevelopment #angularcourse #frontend #angularmaterial

Why "ProvidedIn" Services Are Tree-Shakable (2021, Advanced)
1.40 GEEK