fixed futurestates/angularAMD code

I'm using ui-router-extras built from master. 0.0.11 should be released in not-too-long
Don't forget to call angularAMD.processQueue()