title: calculate show x of x entries of x in pagination table manually
body: <p>Hi So I'm working with table which has pagination and I need to show 1-5 of 10 entries dynamically ,how do I calculate that manually i just need the logic on how to do that so that I can understand and implement it, I'm a newbie to angular any guidance will be much helpful</p>
  <p><a href="https://i.stack.imgur.com/FCsW4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FCsW4.png" alt="enter image description here" /></a></p>