Skip to content

Instantly share code, notes, and snippets.

@newmanbrad
Created May 9, 2014 18:24
Show Gist options
  • Save newmanbrad/568cd185a368966dc49b to your computer and use it in GitHub Desktop.
Save newmanbrad/568cd185a368966dc49b to your computer and use it in GitHub Desktop.
{% extends "base.html" %}
{% load i18n %}
{% block link %}
<script data-require="[email protected]" data-semver="1.2.0-rc3-nonmin" src="http://code.angularjs.org/1.2.0-rc.3/angular.js"></script>
<script src="http://code.angularjs.org/1.2.0-rc.3/angular-sanitize.min.js"></script>
<script src="/angular/myApp.js"></script>
{% endblock link %}
{% block content %}
<div ng-app="myApp">
<section ng-controller="myAppCtrl">
<h3 class="subtitle">Display my Data!</h3>
<!-- Loop Items -->
<article ng-repeat="item in items">
<ul>
<li>{{ item.name }}</li>
<li>{{ item.desc }}</li>
</ul>
</article>
</section>
</div>
{% endblock content %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment