reverting addToAngular change