SyntaxFix
Write A Post
Hire A Developer
Questions
You can try something like this.
<button class="button" ng-disabled="(!data.var1 && !data.var2) ? false : true"> </button>
Its working fine for me.