I am using the generator-angular-fullstack for my app and have come into a problem when minifying / uglyfying my code.

Before minifying my code i could use services and they would work fine but afterwards i get the following error:

[$injector:unpr] Unknown provider: aProvider <- a

I read that i need to add inline annotations to my controller like this (to stop the minify process from destroying the service:

```
app.controller('mainController', ['$scope', '$http', function($scope, $http) {
    $scope.message = 'HOORAY!'; 
}]);  

```

generator-angular-fullstack creates controllers like this:

```
(function () {

    class EmployeesearchComponent {

        constructor($scope, $rootScope, $state, $stateParams, elasticservice, $mdDialog) {
            $scope.message = 'HOORAY!'; 
        };
    }

    angular.module('myApp')
        .component('employeesearch', {

            templateUrl: 'app/employeesearch/employeesearch.html',
            controller: EmployeesearchComponent

        });

})();

```

Where am i supposed to add the services as strings?

Thanks,