If you put your idea in some protectable form, you have a full right to sue them for a patent or a copyright infringement. And this protectable form doesn’t necessarily mean copyright or patent registration but at least write them down and file a provisional application. In case your idea was a trade secret, you still able to sue them based on a breach of an implied agreement