AngularJS and Google Ajax Crawler

So basically I am trying to get angularJs Routes to look like this

 www.example.com/ajax.html#!product=1234

instead of like this

www.example.com/ajax.html#/product/1234

is there any hope?

You just have to configure the $location service and call:

$locationProvider.hashPrefix("!")

If your running a ruby app and want to adhere to the google ajax crawling scheme - there's a gem that implements the crawling scheme for any rack app....

gem install google_ajax_crawler

writeup of how to use it is at http://thecodeabode.blogspot.com.au/2013/03/backbonejs-and-seo-google-ajax-crawling.html, source code at https://github.com/benkitzelman/google-ajax-crawler