Automatic fixing of angular methods for minification