AngularJS Promises - $q.all()
by danielzen
HTML
<div ng-controller="MyCtrl as controller">
<ul>
<li ng-repeat="(key, value) in controller.object">
Property {{$index}}: {{key}} has value {{value}}
</li>
</ul>
</div>
JavaScript
var myApp = angular.module('myApp', []);
function MyCtrl() {
this.object = {
"id": 2,
"project": "wewe2012",
"date": "2013-02-26",
"description": "ewew",
"eet_no": "ewew",
}
}