docs(ionCheckbox): write docs

This commit is contained in:
Andy Joslin
2014-03-08 20:56:35 -07:00
parent bcb5d1be21
commit 2a686dd97d

View File

@@ -3,7 +3,21 @@
angular.module('ionic.ui.checkbox', [])
/**
* @ngdoc directive
* @name ionCheckbox
* @module ionic
* @restrict E
* @description
* No different than the HTML checkbox input, except it's styled differently.
*
* Behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]).
*
* @usage
* ```html
* <ion-checkbox ng-model="isChecked">Checkbox Label</ion-checkbox>
* ```
*/
.directive('ionCheckbox', function() {
return {
restrict: 'E',