Skip to content

Commit

Permalink
One-time binding when possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandat committed Feb 8, 2016
1 parent 00a9a80 commit 778741a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/characters/tab-characters.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ ion-view.characters(view-title='Characters')
.list
.card(ng-repeat="character in vm.characters track by character.id")
.item.item-image(ui-sref='tab.character-detail({character:character})')
img.characters__item-cover(jd-src="{{character.getThumbnailUrl()}}", width="100%",
img.characters__item-cover(jd-src="{{::character.getThumbnailUrl()}}", width="100%",
height="250px")
.item.item-icon-right.assertive
i.icon.ion-android-favorite-outline(ng-click='vm.keep()')
| {{character.name}}
i.icon.ion-android-favorite-outline(ng-click='::vm.keep()')
| {{::character.name}}
.characters__footer
ion-spinner.spinner-assertive(ng-if='vm.searching')
button.button.button-block.button-assertive(ng-click='vm.loadMore()',
Expand Down

0 comments on commit 778741a

Please sign in to comment.