AngularJS service for triggering document ready event