I\'m trying to run this tutorial against my own AngularJS code. I can\'t get past the first test. Any attempt to pull any information from my page gets this error:
I faced the same issue while doing E2E testing with jasmine and protractor.
This is related to root html tag.
While runnnig the protractor,I was getting the error..
"Error while waiting for Protractor to sync with the page: " [ng: test] no injector found
for element argument to getTestability\ nhttp: //errors.angularjs.org/1.3.13/ng/test"
For resolving this, I made one small change in root html tag by putting lang="en" attribute. This resolved my problem.
Final HTML
.....
I hope this will help you.
Thanks.