I have many many buttons in page and a input for user to enter color.
Is there a better way than below code?
<button ng-style="myStyles">
<button ng-style="myStyles">
.....
....
<input type="text" ng-modal="myStyles.color">
Can we generate a dynamic class like below?
<style>
 button {
     color : {{myStyles.color}}
 }
</style>


ng-modelin yourinput(notng-modal)?