Enhance modal functionnality +  Fix ngmin issue on $modal