I am getting this error
main-d2a9731a79.js:2 Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:unpr] Unknown provider: t
Below is my code in angularjs. It worked before minifying. Once minified, it started to give the above error.
app.config(function ($routeProvider) {
$routeProvider
// route for the home page
.when('/', {
templateUrl: site_url + '/inbox/',
controller: 'inboxController'
});
});
app.controller('inboxController',['$scope', '$http', function ($scope, $http) {
console.log('tesing');
}]);