walnut_launchpad.html/js/controllers/contactDetailController.js

4 lines
201 B
JavaScript
Raw Normal View History

2017-08-08 20:54:25 +00:00
app.controller('ContactDetailController', ['$scope', '$stateParams', 'ContactsService', function($scope, $stateParams, ContactsService) {
2017-08-08 06:35:11 +00:00
$scope.selected = ContactsService.find($stateParams.id);
2017-08-08 20:54:25 +00:00
}]);