compile angular templates to one file + optimize assets

https://issues.jboss.org/browse/AGPUSH-718