move item list to directive for reuse