title: Error : Unknown provider After JavaScript Compression
body: <p>I have below AngularJS controller code </p>
  
  <pre><code>(function() {
      'use strict';
      angular
        .module('app')
        .controller('TemplateCtrl', TemplateCtrl);
  
        function TemplateCtrl($http, $auth, $rootScope,$scope){
  
        }
  })();
  </code></pre>
  
  <p>After compression from <a href="http://jscompress.com/" rel="nofollow noreferrer">http://jscompress.com/</a> I got below output.</p>
  
  <pre><code>!function(){"use strict";function t(t,l,n,e){}angular.module("app").controller("TemplateCtrl",t)}();
  </code></pre>
  
  <p>Before compression there was no error but after compression I am getting below error </p>
  
  <pre><code> Error: [$injector:unpr] Unknown provider: tProvider &lt;- t &lt;- TemplateCtrl
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YD2qq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YD2qq.png" alt="enter image description here"></a></p>
  
  <p>I am not finding any clue to fix this ? </p>
  
  <p>Thanks for your help and time.</p>