nw-card.html 411 B

1234567891011
  1. <div class="card" title="{{ header }}">
  2. <img ng-src="{{ image }}" ng-if="image" />
  3. <h2 class="h3">{{ header }}</h2>
  4. <i class="icon icon-card {{ icon }}"></i>
  5. <p class="hidden">{{ description }}</p>
  6. <div class="card-hidden">
  7. <!-- avoid the escaping which would happen with:
  8. <a ng-href="#/notes/{{id}}">{{ body }}</a> -->
  9. <a ng-href="#/notes/{{id}}" ng-bind-html="body"></a>
  10. </div>
  11. </div>