old_contents: import angular from 'angular';
  import _ from 'lodash';
  
  // import child modules
  import PromoteIdeaModule from './promote-idea/promote-idea';
  
  // importing child components
  import IdeasCardComponent from './ideas-card/ideas-card.js';
  import NewIdeaButtonComponent from './new-idea-button/new-idea-button';
  import MakeIdeaComponent from './make-idea/make-idea';
  
  // imports for this component
  import template from './ideas.html';
  import './ideas.css';
  
  class IdeasController {
    constructor(EventService) {
      this.EventService = EventService;
      console.log(this.EventService.ideas);
    }
  
    sortIdeas(i) {
      return (i.upVotes.length - i.downVotes.length);
    }
  
  }
  IdeasController.$inject = ['EventService'];
  
  const IdeasComponent = {
    restrict: 'E',
    bindings: {},
    template: template,
    controller: IdeasController
  };
  
  const IdeasModule = angular.module('app.group.ideas', [
    PromoteIdeaModule
  ])
    .component('ideas', IdeasComponent)
    .component('ideasCard', IdeasCardComponent)
    .component('newIdeaButton', NewIdeaButtonComponent)
    .component('makeIdea', MakeIdeaComponent);
  
  export default IdeasModule.name;
  
new_contents: import angular from 'angular';
  import _ from 'lodash';
  
  // import child modules
  import PromoteIdeaModule from './promote-idea/promote-idea';
  
  // importing child components
  import IdeasCardComponent from './ideas-card/ideas-card.js';
  import NewIdeaButtonComponent from './new-idea-button/new-idea-button';
  import MakeIdeaComponent from './make-idea/make-idea';
  
  // imports for this component
  import template from './ideas.html';
  import './ideas.css';
  
  class IdeasController {
    constructor(EventService) {
      this.EventService = EventService;
    }
  
    sortIdeas(i) {
      return (i.upVotes.length - i.downVotes.length);
    }
  
  }
  IdeasController.$inject = ['EventService'];
  
  const IdeasComponent = {
    restrict: 'E',
    bindings: {},
    template: template,
    controller: IdeasController
  };
  
  const IdeasModule = angular.module('app.group.ideas', [
    PromoteIdeaModule
  ])
    .component('ideas', IdeasComponent)
    .component('ideasCard', IdeasCardComponent)
    .component('newIdeaButton', NewIdeaButtonComponent)
    .component('makeIdea', MakeIdeaComponent);
  
  export default IdeasModule.name;
  
subject: remove console log