How do you wrap a uibModal controller in brackets to protect it from minifying
<p>I have a modal  function that is having a problem when I minify. It's because the controller isn't wrapped in brackets. </p>

<p>With a regular controller, I would use " .controller('Ctrl', ['$scope', function($scope){});</p>

<p>But with my modal, it just calls a straight function:</p>

<pre><code>        var modalInstance = $uibModal.open({
            animation: true,
            backdrop: 'static',
            keyboard: false,
            templateUrl: 'questionsModal.html',
            controller: function($scope, $uibModalInstance, SweetAlert) {
</code></pre>

<p>I tried the following:</p>

<pre><code>            var modalInstance = $uibModal.open({
                animation: true,
                backdrop: 'static',
                keyboard: false,
                templateUrl: 'questionsModal.html',
                controller: ('', [ '$scope', function($scope) {}])
</code></pre>

<p>But it doesn't work.</p>