Permalink
Browse files

Step 3.2: Load parties data into app

1 parent b19644b commit 654df1d137ddf85e72d23f5f91e96fe72508e4b1 @kamilkisiela kamilkisiela committed with DAB0mB Sep 21, 2016
Showing with 20 additions and 1 deletion.
  1. +20 −1 client/imports/app/app.component.ts
@@ -6,4 +6,23 @@ import template from './app.component.html';
selector: 'app',
template
})
-export class AppComponent {}
+export class AppComponent {
+ parties: any[];
+
+ constructor() {
+ this.parties = [
+ {'name': 'Dubstep-Free Zone',
+ 'description': 'Can we please just for an evening not listen to dubstep.',
+ 'location': 'Palo Alto'
+ },
+ {'name': 'All dubstep all the time',
+ 'description': 'Get it on!',
+ 'location': 'Palo Alto'
+ },
+ {'name': 'Savage lounging',
+ 'description': 'Leisure suit required. And only fiercest manners.',
+ 'location': 'San Francisco'
+ }
+ ];
+ }
+}

0 comments on commit 654df1d

Please sign in to comment.