angularjs version of the collector