I'm looking for a way to override a view in a state at runtime to use an alternate template and/or controller. I think what I'm looking for is a `$stateProvider.decorate(stateName, decoratorFn)` call. What do you think of this @jeme? Does this sound like an appropriate API?
I'm looking for a way to override a view in a state at runtime to use an alternate template and/or controller.
I think what I'm looking for is a
$stateProvider.decorate(stateName, decoratorFn)call.What do you think of this @jeme? Does this sound like an appropriate API?