Skip to content

Use with "controller as" #55

Description

@smlombardi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions