import ngModule from '../module'; import Section from 'salix/components/section'; import './style.scss'; class Controller extends Section { constructor($element, $, vnWeekDays) { super($element, $); this.weekDays = []; this.weekdayNames = vnWeekDays.locales; } } Controller.$inject = ['$element', '$scope', 'vnWeekDays']; ngModule.component('vnUpcomingDeliveries', { template: require('./index.html'), controller: Section });