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