I've got a controller and want to test it with a Jasmine. There is an $on listener in the scope of controller that I want to test. How do I trigger $emit event to run $on listener? I've got a controller and want to test it with
I've got a controller and want to test it with a Jasmine. There is an $on listener in the scope of controller that I want to test. How do I trigger $emit event to run $on listener? I've got a controller and want to test it with