Fix ngmin issue on $modal