my question is how to hide the source code of an angular application from browser, because i created a web app with angular , but the source code is appear on the development tool, and i don't know how to hide it and protect my code. thank you for your help
1 Answer
This is not possible for typical web applications based upon HTML, CSS and JavaScript.
What you can do is take extra measures to uglify your code which makes it difficult but not impossible to recreate it.
For this to happen you have to build your code using the --prod flag which also offers other advantages.
1 Comment
usomi96
Are there other ways to do this other than --prod ?