Closed copygirl closed 8 years ago
Wouldn't this mess with search providers using <title>
?
Google runs the javascript like a browser does (as of october last year - see https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html).
https://support.google.com/webmasters/answer/6066468?rd=2 describes their tool which lets you check what the googlebot will see.
You can define a service that depends on the
$window
service, with a method like:No need to mess around with templates or anything :)