-
Install Dependencies
npm install && bower install
-
Run build function
gulp build
-
Add repository as dependency on your bower.json
"dugun-forms":"https://github.com/duguncom/dugun-forms.git#v1.x"
-
Add
dugun.forms
to your application
angular.module('YourApp',
[
'dugun.forms'
]
);
<input
date-range-picker
class="form-control date-picker opensleft"
type="text"
ng-model="dates"
min="null"
max="today"
options="{ opens: 'left' }"
placeholder="Tarih aralığı"
>
$scope.dates = {
startDate: moment().startOf('month'),
endDate: moment()
};
<dg-form-date
ng-model="date"
format="DD-MM-YYYY"
></dg-form-date>