Skip to content

Instantly share code, notes, and snippets.

View jlguenego's full-sized avatar
🏠
Working from home

Jean-Louis GUENEGO jlguenego

🏠
Working from home
View GitHub Profile
@jlguenego
jlguenego / angular-jlg-daterangepicker-ex1.js
Last active August 15, 2016 15:01
Hello World with Angular JLG Daterangepicker
(function() {
'use strict';
var app = angular.module('jlg-daterangepicker', []);
app.directive('input', ['$injector', function($injector) {
return {
restrict: 'E',
require: 'ngModel',
link: function (scope, element, attr, ngModel) {