revert angular-generator