walnut_launchpad.html/js/controllers/contactController.js

4 lines
150 B
JavaScript

app.controller('ContactController', ['$scope', 'ContactsService', function($scope, ContactsService) {
$scope.contacts = ContactsService.list();
}]);