divided addCategory view html and service