[angular-ui-router] Added description for redirectTo

This commit is contained in:
Ivan Matiishyn
2016-12-21 17:59:53 +01:00
parent 095e813954
commit be2a7b8f93
+7
View File
@@ -94,6 +94,13 @@ declare module 'angular' {
* Boolean (default true). If false will reload state on everytransitions. Useful for when you'd like to restore all data to its initial state.
*/
cache?: boolean;
/**
* string | function | object
* Synchronously or asynchronously redirects Transitions to a different state/params
*/
redirectTo?: String | Function | IState;
}
interface IUnfoundState {