Fix writeModules _.each using fat arrow
Do not process if there is nothing to process

Because jade-angularjs-brunch builds destructively, if there is no change in the templates the second time around, jade-angular-brunch would replace the content of the built file with nothing