change index angular to min