Angular replacement in place