Merge pull request #166 from JDonadio/ref/color-list

Color list from config service
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-30 17:13:52 -03:00 committed by GitHub
commit 05059638f7
3 changed files with 69 additions and 20 deletions

View file

@ -7,7 +7,7 @@
</ion-nav-back-button>
</ion-nav-bar>
<ion-content>
<ion-radio ng-repeat="c in colorList" ng-value="c.color" ng-model="currentColor" ng-click="save(c.color)">
<ion-radio ng-repeat="c in colorList" ng-value="c" ng-model="currentColor" ng-click="save(c.color)">
<span ng-style="{'color': c.color}">&block;</span>
<span> {{c.name}}</span>
</ion-radio>