@pavelgj Is this test ok? This is related to the question that I asked on gitter.im  and it's exactly what you described towards the end (ng-if uses ctrl.invoked which is defined in parent controller). It sounds like this might not be a good test case...