added angular register handling