How to avoid hacking ionic apk file?

its simple to find the source of ionic apk file, just with rename myapp.apk to and then unzip it.
all the sources like ,css file,www folder , all of the controller etc… completely are accessible…!
is there any way to avoid hacking ionic apk file?

Not an expert in the subject but I don’t think there is. Even if it was fully native you could deconstruct the apk

What you should do is minify and concatenate js/css files

I agree with @pmigabreu, here is a tutorial on how to uglify, minify and obfuscate your code.

Thanks a lot my friends.