I am automating angular js application, i am unable to click button using ng-click ,can u please share java script code??? for ng click : Here is the HTML code : 

    <a ng-click="openProjectModal($event)">Create Project</a>


I tried below code:

    .//a[ng-click='openProjectModal($event)']
Using xpath it is working but i don't want to use xpath.
