19 lines
469 B
JavaScript
19 lines
469 B
JavaScript
|
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
|
||
|
});
|