Append getRecentActivity method to scope; call it within the template