Created
May 9, 2014 18:24
-
-
Save newmanbrad/568cd185a368966dc49b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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