title: Code breaks after using gulp-uglify : Ionic Framework
body: <p>I'm just new to Ionicframework and new to using gulp. I am currently setting up my workflow and I use gulp-uglify to minify my app files. After using it the code breaks so I checked on the console and got this error. </p>
  
  <p><strong><em>Uncaught Error: [$injector:modulerr] Failed to instantiate module ebhealth due to: Error: [$injector:unpr] Unknown provider: t</em></strong></p>
  
  <p>I am using this gulp function to basically gather all js file from a specified location, concatenate them to all.js then uglify/minify.</p>
  
  <pre><code>gulp.task('app-scripts', function(){  
    return gulp.src(paths.scripts)
      .pipe(concat('all.js'))
      .pipe(uglify())
      .pipe(gulp.dest('www/app-dist/'));
  });
  </code></pre>
  
  <p>After executing this command, I checked the all.js and indeed it looks minified and uglified but when I refresh the browser it throws an error. What am I doing wrong? </p>