docs(ionList): add example controller

This commit is contained in:
mhartington
2015-01-16 17:06:41 -05:00
parent 6cf336ae83
commit fdf06be0e5

View File

@@ -63,6 +63,14 @@
* </ion-list>
* ```
*
*```javascript
* app.controller('MyCtrl', function($scope, $ionicLoading) {
* $scope.shouldShowDelete = false;
* $scope.shouldShowReorder = false;
* $scope.listCanSwipe = true
* });
*```
*
* @param {string=} delegate-handle The handle used to identify this list with
* {@link ionic.service:$ionicListDelegate}.
* @param type {string=} The type of list to use (list-inset or card)