Use with "controller as"
Opened this issue · 0 comments
smlombardi commented
We create our controllers with the 'controller as' method, as in
controller: 'IsotopeController as iso'
then in the controller:
_this.xList = [{
'name': 'a',
'number': '1',
'date': '1360413309421',
'class': 'purple'
},
and in the html:
<li ng-repeat="x in iso.xList" isotope-item="isotope-item" class="kindling {{x.class}}">
this correctly displays them, but the sort and filter buttons do nothing.