Fix angular error when using uglifier in production.