Skip to content

Instantly share code, notes, and snippets.

View sabbiryan's full-sized avatar

Md. Sabbir Ahamed sabbiryan

View GitHub Profile
@brianfeister
brianfeister / app.js
Last active May 27, 2020 02:37
Angular Upload with Image Crop
angular.module('cropAndUpload', [
'angularFileUpload',
'ngImgCrop'
])
@weberste
weberste / gist:354a3f0a9ea58e0ea0de
Last active January 28, 2022 13:47
Dates only with Angular-UI Bootstrap datepicker
app.directive('datepickerLocaldate', ['$parse', function ($parse) {
var directive = {
restrict: 'A',
require: ['ngModel'],
link: link
};
return directive;
function link(scope, element, attr, ctrls) {
var ngModelController = ctrls[0];