An injunction binds the party from the time he has notice thereof and the undertaking required of the applicant therefor is executed.