Writing unit test cases for controller gives exception "Cannot read property 'controller' of undefined" with this syntax. Can you please suggest how to fix this ?
Writing unit test cases for controller gives exception "Cannot read property 'controller' of undefined" with this syntax. Can you please suggest how to fix this ?