AngularJS directive for measuring and reporting perceived page performance