$compileProvider

What is it ?

This provider is used to configure the behavior of somes directives and debug stuff.

debugInfoEnabled

You should always enable it on development and disable it on production.

Description:

It can helps to debug the DOM by adding some stuff in it like:

Obviously, this option will slow down the application and it is useless in production.
So, disable it !

Example

$compileProvider.debugInfoEnabled(false);

Bonus

If you want to debug easily a production which have this option disable,
You can enter angular.reloadWithDebugInfo(); in your browser console to enable the debug.

Want more ?

See the official documentation