Skip to content

Instantly share code, notes, and snippets.

@vaneves
Created September 24, 2015 19:31
Show Gist options
  • Save vaneves/6a6af2c7ae585562bb99 to your computer and use it in GitHub Desktop.
Save vaneves/6a6af2c7ae585562bb99 to your computer and use it in GitHub Desktop.
Blog Ninja - Blog Detail HTML
<div ng-if="post && post.id">
<h2 class="title">
<a href="#/detail/{{ post.id }}">{{ post.title }}</a>
</h2>
<p class="text-muted">Publicado em {{ post.date }}</p>
<p>{{ post.content }}</p>
</div>
<div ng-if="!post || !post.id">
<h2 class="title">Página Não Encontrada</h2>
<p>Publicação não encontrada. Ir para <a href="#/">página inicial</a>.</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment