angular/protractor — pull request #247 by MexicanAce (2013-11-11 23:17:51+00:00)
Title: Feature: Adding a By.directive locator

This new locator finds WebElement(s) by the ng-directive and paired value.

Example: `ptor.findElement(protractor.By.directive("click", "foo('test')"))` would find the first element that had the following directive `ng-click="foo('test')"`