refactor(testabilityPatch): Change JSTD fail to more general throw
refactor(testabilityPatch): Change JSTD fail to more general throw

"fail" is a JSTD specific API, so it's not defined when testing without JSTD (eg SlimJim).
ammula88/angular.js,ammula88/angular.js,ammula88/angular.js,ammula88/angular.js,ammula88/angular.js