Angular Lib addition & Category JSON formation