fixed futurestates/angularAMD code

I'm using ui-router-extras built from master. 0.0.11 should be released in not-too-long
This is key. The full state tree can be created by the file being required.  The resolve() just tells future states to retry the transition by synchronizing the URL.