fixed futurestates/angularAMD code

I'm using ui-router-extras built from master. 0.0.11 should be released in not-too-long
This was causing you problems.  You returned a controller function which was continually trying to register the same state each time it was invoked.  I changed this code to simply register the states and have angularAMD process the registrations.