Use ionic.requestAnimationFrame