giving angular the regid