In my code, I have an icon that is displayed conditionally using ng-class. I am looking to include ID's for both the HTML elements.
<i ng-show="ctrl.data.length > 1"
ng-class="{'glyphicon glyphicon-chevron-down': !ctrl.isOpen,
'glyphicon glyphicon-chevron-up': ctrl.isOpen}">
</i>