I have below AngularJS controller code
(function() {
'use strict';
angular
.module('app')
.controller('TemplateCtrl', TemplateCtrl);
function TemplateCtrl($http, $auth, $rootScope,$scope){
}
})();
After compression from http://jscompress.com/ I got below output.
!function(){"use strict";function t(t,l,n,e){}angular.module("app").controller("TemplateCtrl",t)}();
Before compression there was no error but after compression I am getting below error
Error: [$injector:unpr] Unknown provider: tProvider <- t <- TemplateCtrl
I am not finding any clue to fix this ?
Thanks for your help and time.
