[refactor] Use $document for unit test suppport.
[refactor] Use $document for unit test suppport.

angular-google-chart/angular-google-chart,nbering/angular-google-chart,nbering/angular-google-chart,angular-google-chart/angular-google-chart