Skip to content

Instantly share code, notes, and snippets.

@trashhalo trashhalo/foo.js
Created Aug 2, 2016

Embed
What would you like to do?
.state('G', {
redirectTo: function (trans) {
var svc = trans.injector().get('SomeAsyncService');
var promise = svc.getAsyncRedirectTo(trans.params.foo);
return promise;
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.