Skip to content

Commit

Permalink
chore(docs): fix list formatting. Closes #4718
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 6, 2015
1 parent 06ef682 commit 7aec81f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/angular/controller/listController.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@
* method to control specific ionList instances.
*
* @usage
*
* ```html
* {% raw %}
* <ion-content ng-controller="MyCtrl">
* <button class="button" ng-click="showDeleteButtons()"></button>
* <ion-list>
* <ion-item ng-repeat="i in items">
* {% raw %}Hello, {{i}}!{% endraw %}
* Hello, {{i}}!
* <ion-delete-button class="ion-minus-circled"></ion-delete-button>
* </ion-item>
* </ion-list>
* </ion-content>
* {% endraw %}
* ```
* ```js
* function MyCtrl($scope, $ionicListDelegate) {
* $scope.showDeleteButtons = function() {
Expand Down

0 comments on commit 7aec81f

Please sign in to comment.