Angular2 SEO - How to make an angular 2 app crawlable
I am building an Angular 2 app using the Angular-Meteor framework . I would like to achieve fast and consistent indexing by google and other search engines, and allow Facebook sharer and other scrapers to generate previews of my JS-generated content. Usually SPAs use the PhantomJS to render the page server-side and send the static HTML to the client. Of course I can spawn PhantomJS myself when I intercept an _escaped_fragment_ or when I see the google or scraper user agent, but I always experienced memory leaks and orphan Phantom instances when spawning PhantomJS directly on websites with a