Added support for minification

Requires modification to second paramater of angularjs modules (passing
array).