Is it possible to conditionally include an ng-click into the dom? Both my desktop view and mobile view share the same template, but I only need the ng-click in the desktop view.
For example, in my desktop view I want something like this:
<div class="maincontent" ng-click="clickEvent()">
<div>Content</div>
</div>
... and in my mobile view I want something like this:
<div class="maincontent">
<div>Content</div>
</div>