Removing return statement when isn't necessary

I'm using angular $templateCache to compile my partials. The generated AMD module is returning the **return** statement when isn't necessary to declare my angular.module, 'cause the gulp-ngHtml2-js verify if is necessary to create or get the module reference N times.