Closed mleonardallen closed 6 years ago
OK, we can merge that in, can you rename the event to uirouter-afterstart
or something that makes sense? I'm a bit worried that when in the future uirouter
will introduce their onInit
we will get a name clash.
Btw. initCallback is provided to allow for custom router configuration before start()
is called though, not for your app code notifications. Having both is a good thing though.
Alternative to init callback to allow consumer to provide init callback scoped (this reference) to the consumer.