pipeline history + angularjs + api usage