How can I use selenium automation testing on an angularJS front end
<p>I'm testing an application written in .NET Backend and AngularJS front end.
Writing some automation tests using Selenium with specflow integration (C#). </p>

<p>I have done the initial setup but one of the biggest difficulties I face is detecting the dynamic web elements. Since the app is using Angular I can't easily identify most elements unless I try to use XPath. Selenium doesn't support the compound class names ie "class="ng-pristine ng-valid ng-touched"" and the IDs keep changing.   </p>

<p>Is there a better way of doing this ? or a library I can use to make my life easier ? </p>

<p>Any input appreciated :) </p>