You could try to use pre-rendering or server-side rendering. This is specifically designed for SEO problems with angular applications.
A quick search revealed this blog post which does a decent job at explaining it: https://www.thirdrocktechkno.com/blog/prerendering-in-angular-9/#:~:text=What%20is%20Pre%2Drendering%20in,static%20pages%20in%20the%20application . *Bastien Lemaire* On Thu, 17 Sep 2020 at 14:07, Faizan Malik <[email protected]> wrote: > Hi Guys, > > Facebook share is not working in angular 8. When i share my page its get > the meta description and title from index file not that meta tags which i > used dynamically and updated them by this "this.metaService.updateTag" > because SPA render in DOM but facebook bots didn't render the javascript/ > Is there any way to share dynamic page on facebook ? > > -- > You received this message because you are subscribed to the Google Groups > "Angular and AngularJS discussion" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/angular/53f3dc05-6db1-47e0-a1fb-aba18d3cc89dn%40googlegroups.com > <https://groups.google.com/d/msgid/angular/53f3dc05-6db1-47e0-a1fb-aba18d3cc89dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/CAJ7E9zEecT6LKatz%3DfWYGEQ4a4%3DRNcfcrXEexfVGx00XS6uQZQ%40mail.gmail.com.
