2016-08-17 13:07:48 -03:00
|
|
|
|
<ion-view>
|
2016-08-15 17:42:04 -03:00
|
|
|
|
<ion-nav-bar class="bar-stable">
|
|
|
|
|
|
<ion-nav-title>Unit</ion-nav-title>
|
|
|
|
|
|
<ion-nav-buttons side="primary">
|
|
|
|
|
|
<button class="button" href ui-sref="tabs.settings">
|
|
|
|
|
|
<i class="ion-arrow-left-c"></i> Back
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</ion-nav-buttons>
|
|
|
|
|
|
</ion-nav-bar class="bar-stable">
|
2016-08-17 13:07:48 -03:00
|
|
|
|
<ion-content ng-controller="preferencesUnitController" ng-init="init()" cache-view="false">
|
2016-08-15 17:42:04 -03:00
|
|
|
|
<ion-radio ng-repeat="unit in unitList" ng-value="unit.code" ng-model="currentUnit"
|
|
|
|
|
|
ng-click="save(unit)">{{unit.shortName}}
|
|
|
|
|
|
</ion-radio>
|
|
|
|
|
|
</ion-content>
|
|
|
|
|
|
</ion-view>
|