checkouts view and controller, dried up code by putting shared ui funcitons in root and creating single factory to handle item details across controllers