How to instert Huge amount of data in SQL Lite using ionic

Hi Friends
I am currently working on Mobile app (ionic-Angularjs-SQLite Database) i am getting data from codeignator service in json format huge data(10000000 records but i am getting in chunks 10000 per chanks) so how can i insert data fastly can any one suggest me please