updated js - angular of category