Angular: Empty Fiddle

http://angularjs.org/

HTML

<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="AdminEventsCtrl">
    <table>
        <thead>
            <tr>
                <th>Activity</th>
                <th>Total</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="item in totals">
                <td>{{item.type}}</td>
                <td>{{item.count}}</td>
            </tr>
        </tbody>
    </table>
</div>

JavaScript

var myApp = angular.module('myApp', []);

function AdminEventsCtrl($scope) {
    var collection = [{
        type: 'a',
        count: 1
    }, {
        type: 'b',
        count: 5
    }, {
        type: 'c',
        count: 3
    }];
    $scope.totals = collection;
}