What to do with all those strings in angularjs

The last days I started using angularjs and like it so far.

But I can't get over all those strings I have to use to create modules, controllers, well, everything.

app = angular.module 'myApp', []

...

angular.module('myApp').factory 'myService', ->
   # service code

With all those strings, I don't get any auto-completing help from my IDE, and refactoring/renaming is some ugly find-replace-task.

Currently, I consider using some sort of constant object polluting the global namespace like so

appConstants =
    APP_NAME: 'myApp'
    SERVICE_NAME: 'myService'

and create my modules etc. with the help of this object

app = angular.module appConstants.APP_NAME, []
angular.module(appConstants.APP_NAME).factory appConstants.SERVICE_NAME, ->
   # service code

But polluting the global namespace is something I try to avoid whenever possible.
So another idea was to use AMD or CommonJS modules for my dependencies, but I would have to teach yeoman how to do this ;)

I would really love to hear what you think and do about it? Ignore it? Is there a angular way to do it I didn't stumble upon yet?