Join the Stack Overflow Community
Stack Overflow is a community of 6.4 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

We are developing a protractor jasmine framework for testing the angular part of our application. When we run the script the protractor switches from non-angular to angular without any problem, however the exception is thrown when it switches back to non-angular part of application even after we use the property igonoresynchroniztion.

This is the Exception:

'root element(html) has no injector.This may mean it is not inside ng-app'.

Any help or suggestions will be appreciated!

share|improve this question
    
change your rootElement to body in your config – Danny 12 hours ago
    
Check for directive 'ng-app' where it is placed? it would either in <body>,<html> or <div> in login.html or index.html – Suresh Salloju 7 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.