title: Show an ad on the page when it is seen on the 4th time
body: <p>I am trying to build an app in which an ad should be loaded on the page every time the user views the page four times. I am using ionic framework. Thanks in advance.</p>