Ionic ng deploy heroku git submodules help

I have 2 package.json files. I don’t know how to render angular inside ionic directory in the heroku platform