File: src/index.ts

Recommend this page to a friend!
  Classes of Logik group   Angular Moment Picker   src/index.ts   Download  
File: src/index.ts
Role: Example script
Content type: text/plain
Description: Example script
Class: Angular Moment Picker
Pick times and dates in Angular.js applications
Author: By
Last change: Update of src/index.ts
Date: 2 years ago
Size: 660 bytes
 

Contents

Class file image Download
import * as angular from 'angular'; import Provider from './provider'; import Directive from './directive'; angular .module('moment-picker', []) .provider('momentPicker', [() => new Provider()]) .directive('momentPicker', [ '$timeout', '$sce', '$log', '$window', 'momentPicker', '$compile', '$templateCache', ($timeout: ng.ITimeoutService, $sce: ng.ISCEService, $log: ng.ILogService, $window: ng.IWindowService, momentPicker: Provider, $compile: ng.ICompileService, $templateCache: ng.ITemplateCacheService) => { return new Directive($timeout, $sce, $log, $window, momentPicker, $compile, $templateCache); } ]); export { Provider, Directive };