This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.calendar__wrapper { | |
display: flex; | |
flex-direction: row; | |
flex-wrap: wrap; | |
width: calc(45px * 7); | |
margin: 0 25px 25px; | |
} | |
.calendar__item { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
var utils = angular.module('utils'); | |
utils.directive('fileReader', function (EVENTS) { | |
return { | |
restrict: 'A', | |
scope: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'reflect-metadata'; | |
const INSTANCE = Symbol('Getter for injectable instance'); | |
function Injectable(service: any) { | |
const paramtypes: any[] = Reflect.getMetadata("design:paramtypes", service) || []; | |
const dependencies = paramtypes.map(type => type[INSTANCE]); | |
if (dependencies.some(value => value === undefined)) { |