Reputation: 1870
html:
<div md-ink-ripple="color"> </div>
angular controller:
$scope.color = "#ffff00";
it only accepts solid hash code as parameter. I cannot pass scope variable to it. what is the solution?
Upvotes: 0
Views: 91
Reputation: 41407
I think you need to use it with curly brackets
<div md-ink-ripple="{{color}}"> </div>
Upvotes: 1