Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul>
- <li ng-repeat="myAttribute in myAttributes" ng-if="myAttribute.types">
- {{myAttribute.name}}
- <ion-list>
- <ion-radio ng-repeat="name in myAttribute.nametype"
- ng-click="searchColor(myAttribute.id, name.value)"
- name="{{myAttribute.id}}">
- {{reward.name}}
- </ion-radio>
- </ion-list>
- <select>
- <option ng-repeat="color in myColors.{{myAttribute.id}}">{{color.name}}</option>
- </select>
- </li>
- </ul>
- //=============================
- myAttributes: [
- {
- "id": "B1001"
- },
- {
- "id": "B1002"
- },
- ]
- myColors: {
- "B1001": [
- {name: "1"},
- {name: "2"}
- ],
- "B1002": [
- {name: "3"},
- {name: "4"}
- ],
- }
- //===========================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement