<commit_before># Pure Angular Datepicker, without jQuery

## Install

```
bower install angular-date-range-picker
```

**NOTE**: Since [bindonce](https://github.com/Pasvaz/bindonce) hasn't yet been [released for angular 1.2](https://github.com/Pasvaz/bindonce/issues/31) bower will ask you to select angular version - please choose `1.2.x`.

## Usage

```js
// require dateRangePicker module as dependency
angular.module('myApp', ['dateRangePicker']);
```

```js
// specify default date range in controller
$scope.dates = moment().range("2012-11-05", "2013-01-25")
```

```html
<!-- use 'date-range-picker' directive in view -->
<input type="text" date-range-picker ng-model="dates"/>
```

## Angular version compatibility table

Due to usage of `track by $index` it is impossible to provide one version for both angular `< 1.2` and `>= 1.2`.

<table>
  <tr>
    <th>Angular version</th><commit_msg>Updated README (bind once has been released)<commit_after># Pure Angular Datepicker, without jQuery

## Install

```
bower install angular-date-range-picker
```


## Usage

```js
// require dateRangePicker module as dependency
angular.module('myApp', ['dateRangePicker']);
```

```js
// specify default date range in controller
$scope.dates = moment().range("2012-11-05", "2013-01-25")
```

```html
<!-- use 'date-range-picker' directive in view -->
<input type="text" date-range-picker ng-model="dates"/>
```

## Angular version compatibility table

Due to usage of `track by $index` it is impossible to provide one version for both angular `< 1.2` and `>= 1.2`.

<table>
  <tr>
    <th>Angular version</th>
{'fraction_non_alphanumeric': 0.16614810205351588, 'fraction_numerical': 0.02862476664592408, 'mean_word_length': 4.4324324324324325, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5021504', 'n_tokens_mistral': 552, 'n_tokens_neox': 490, 'n_words': 160}