I have a button on a page that looks like:
Submit
The element has
Just tested this and it works:
element(by.css('[ng-click="myFunction()"]'))