Skip to content

Commit

Permalink
Update README.md (#3)
Browse files Browse the repository at this point in the history
module name was incorrect in documentation + typo fix
  • Loading branch information
kelyar authored and tjsail33 committed Oct 20, 2016
1 parent 7fe0192 commit 2f3a772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ bower install --save angular-indeterminate
```
and then include `(node_modules|bower_components)/angular-indeterminate/dist/angular-indeterminate.js` in your dependencies.

add `ngIndeterminate` to your angular module declaration like so:
add `ngIndeterminant` to your angular module declaration like so:
```javascript
angular.module('myApp', ['ngIndeterminate']);
angular.module('myApp', ['ngIndeterminant']);
```
and now you are good to go!

Expand Down Expand Up @@ -47,7 +47,7 @@ optional. defaults to `adminDisabled`. if the value at this key is truthy, angul
```

### ngTrueValue and ngFalseValue
optional, but must co-exist if set. defaults to `true` and `false` respectively. used for custom true and valse values when checking the indeterminate-checkbox. see [input[checkbox]](https://docs.angularjs.org/api/ng/input/input%5Bcheckbox%5D) for more information.
optional, but must co-exist if set. defaults to `true` and `false` respectively. used for custom true and false values when checking the indeterminate-checkbox. see [input[checkbox]](https://docs.angularjs.org/api/ng/input/input%5Bcheckbox%5D) for more information.

```html
<input type='checkbox' indeterminate="vm.myList" ng-false-value="0" ng-true-value="1" />
Expand Down

0 comments on commit 2f3a772

Please sign in to comment.