Skip to content

Commit

Permalink
Step 3.18: Create Socially component
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 1a4c3f0 commit fd1ca59
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions imports/ui/components/socially/socially.js
@@ -0,0 +1,19 @@
import angular from 'angular';
import angularMeteor from 'angular-meteor';

import template from './socially.html';
import { name as PartiesList } from '../partiesList/partiesList';

class Socially {}

const name = 'socially';

// create a module
export default angular.module(name, [
angularMeteor,
PartiesList
]).component(name, {
template,
controllerAs: name,
controller: Socially
});

0 comments on commit fd1ca59

Please sign in to comment.