Slow ng-if transition with leaflet map

Hello,

I am using the leaflet directive in conjonction with ng-if to display/hide a map when clicking on a button.

When testing on desktop it works perfectly, however when compiled to iOS it feels very laggy (ie. there is a very perceptible time between the moment I click the button and the moment the map is toggled).

Anyone ever encountered this problem?

I built a codepen to show the issue there: http://codepen.io/lollipierre/pen/kfGHu although again the problem only arises when compiled to iOS.

Many thanks