AngularJs and Google Bot experiment
As you found yourself, this has to work.

I only have 2 minor nitpickings:


Do not use console.log() in production code..
You are not using element and attrs, you might as well declare function($scope)


Very nice code.