...

<div class="note-wrapper">
  <a class="card-notes" ng-repeat="note in notes"
    ng-href="#/notes/{{ note.id }}">
    <!-- We pass the header because nw-card has an isolated scope, which
      prevents it from gaining access to parent information -->
    <nw-card header="note.title" icon="note.icon"></nw-card>
  </a>
</div>

...