Open smlombardi opened 8 years ago
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}}">
<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.
We create our controllers with the 'controller as' method, as in
controller: 'IsotopeController as iso'
then in the controller:
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.