Skip to content

Instantly share code, notes, and snippets.

@sfroestl
Last active December 25, 2015 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfroestl/6980149 to your computer and use it in GitHub Desktop.
Save sfroestl/6980149 to your computer and use it in GitHub Desktop.
TimeTracker Service for Small Improvements performance blogpost
// TimeTracker Service
angular.module('siApp.services.timeTracker', [])
.service('TimeTracker', ['$log', function ($log) {
var reviewListLoaded = null;
this.reviewListLoaded = function () {
return reviewListLoaded;
};
this.setReviewListLoaded = function (date) {
reviewListLoaded = date;
};
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment