A memoization utility module for AngularJS