title: Using Grunt uglify task to mangle JS code
body: <p>I'm attempting to use the Grunt uglify task to mangle my javascript code, and while I can make minify work, I can't figure out how to pass the 'mangle' option.  My Gruntfile contains:</p>
  
  <pre><code>uglify: {
    dist: {
      mangle: true,
      files: {
        '&lt;%= yeoman.dist %&gt;/scripts/scripts.js': [
          '&lt;%= yeoman.dist %&gt;/scripts/scripts.js'
        ]
      }
    }
  },
  </code></pre>
  
  <p>...</p>
  
  <pre><code>  grunt.registerTask('build', [
      'clean:dist',
      'wiredep',
      'useminPrepare',
      'concurrent:dist',
      'autoprefixer',
      'concat',
      'ngAnnotate',
      'uglify',
      'copy:dist',
      'cdnify',
      'cssmin',
      'filerev',
      'usemin',
    ]);
  </code></pre>
  
  <p>With this setup, when I run "grunt build" the uglify task reports success, and my javascript is minified, but not mangled.  Can anyone tell me what I'm doing wrong?</p>