use scope only
This commit is contained in:
parent
00ef6bdb62
commit
aa49f03fc1
2 changed files with 21 additions and 28 deletions
|
|
@ -2,10 +2,10 @@
|
|||
ng-init="titleSection='Color'; goBackToState = 'preferences'">
|
||||
</div>
|
||||
|
||||
<div class="content preferences" ng-controller="preferencesColorController as p" ng-init="p.init()">
|
||||
<div class="content preferences" ng-controller="preferencesColorController">
|
||||
<h4></h4>
|
||||
|
||||
<ion-radio class="size-12" ng-repeat="c in p.colorList" ng-value="c" ng-model="data.currentColor" ng-click="p.save(c)">
|
||||
<ion-radio class="size-12" ng-repeat="c in colorList" ng-value="c" ng-model="currentColor" ng-click="save(c)">
|
||||
<span ng-style="{'color': c}">█</span>
|
||||
</ion-radio>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue