How to use @grafana/data/toDataFrame in Angular 1

Hey, we have a front-end plugin which is in Angular 1. I would want to return the data from the plugin as Dataframe as mentioned here Plugin migration guide | Grafana Labs. But it doesn’t seem to be supported. please help on importing this package with Angular 1