Last active
August 29, 2015 14:01
-
-
Save newmanbrad/19823620796d98a42b13 to your computer and use it in GitHub Desktop.
fixed_verbatim
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="angular.js@1.2.0-rc3" 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 %} | |
{% verbatim %} | |
<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> | |
{% verbatim %} | |
{% endblock content %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment