Hi Un most cases leaving The testa there won't be a security risk, however I think the best solution would be to use build tools to minify and maybe concatenate your code.
Make sure you exclude the test file and you will end with a destination folder with one or more files that will contain a ready to deploy application. Also, look at the benefits of minifiying the app when going to production, there are more important reasons than to leave the tests out of the party. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
