Created
August 30, 2014 19:50
-
-
Save renatocantarino/b4ee16cf65d095a22087 to your computer and use it in GitHub Desktop.
AngularJS ng-Repeat v 2.0
This file contains hidden or 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
<html data-ng-app=""> | |
<head> | |
<title>NGREPEAT Versao 2.0</title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<h3>Lista de Pronomes</h3> | |
<div ng-app ng-controller="MyCtrl"> | |
<ul> | |
<li ng-repeat="(Id,pronome) in items">{{Id}}: {{pronome}}</li> | |
</ul> | |
</div> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.min.js"></script> | |
<script type="text/javascript" src="js/data.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment