A man whose dog attacked and killed his neighbour has admitted being the owner of a dog which while dangerously out of control caused a fatal injury.