Removes reference to angular + added copy function