(feat) added dynamic toggle to angular