angular/angular.js — pull request #10374 by juliemr (2014-12-08 23:37:52+00:00)
Title: style(testability): throw a more informative error when getting testability

The angular.getTestability method requires an element parameter to determine
which Angular application to use. Currently, if the element provided is
undefined or outside of an Angular app, the error message is 'cannot read
property get of undefined'. Improving to a more relevant error message.