docs(locators.js): new examples for docs

changes to example text
restore old example accidentally removed in previous commit

closes angular/protractor#804