123456789101112131415161718192021222324 |
- (function () {
- var app = angular.module('store', []);
- app.controller('StoreController', function () {
- this.products = gems;
- });
- var gems = [
- {
- name: "Dodecahedron",
- price: 2.95,
- description: "Some gems have hidden qualities beyond their luster, beyond their shine... Dodeca is one of those gems.",
- soldOut: false,
- canPurchase: true
- },
- {
- name: 'Pentagonal gem',
- price: 5.95,
- description: " . . . ",
- canPurchase: false
- }
- ];
- })();
|