New York (CNN Business)Uber and Postmates are suing California over its controversial law to require that many so-called "gig workers" be considered employees rather than independent contractors.

The companies filed suit in Federal Court in Los Angeles on Monday. According to the complaint, the AB-5 statute violates several parts of both the US and California constitutions.
"AB-5 is a vague and incoherent statute that does not accomplish what its sponsors have stated they sought to achieve," the lawsuit claims.