title: How to stop executing a loop (say if loop once it finds a match) in Protractor for AngularJS applications?
body: <p>I am writing test cases using protractor for AngularJS Application. I want to stop an if loop once it finds the value. Is there any equivalent function available that I can use to stop executing the loop further in Protractor, like we have break in C.</p>