change item-detail to directive