Move product details to a directive

Move product details to a directive so it can be more easily re-used.