Is there a way to disable a button based on the state of my view model?
In AngularJS:
<button class="btn" ng-click="Search()" ng-hide="canRefresh()" ng-disabled="query.trim().length == 0">
<i class="icon-search"></i> Search</button>
How do I do this with Dart's Web UI package?
(credit to John Saturnus for the question)