playing around with angular and ajax sorting tables