'Uncaught TypeError: angular.module(...).run(...) is not a function' in Grunt minified js-file
<p>My code works on development mode, uncompressed. But when I use grunt's minify functionality and run the app in production mode, I get that error: <code>Uncaught TypeError: angular.module(...).run(...) is not a function</code>.</p>

<p>When I look into the error in Google Chrome Developer Tools, I get what you see in the screenshot. Does anybody understand where the problem is?</p>

<p><a href="https://i.stack.imgur.com/dnMKm.png" rel="nofollow"><img src="https://i.stack.imgur.com/dnMKm.png" alt="enter image description here"></a></p>

<p>I am using Angular 1.4+ in Angular-Fullstack. The error occurs in <code>vendor.{{randomstring}}.js</code>.</p>

<p>Thanks for any support!</p>