dist/angular-waypoints.all.js
function setWaypoint(collection, waypoint) {
		angular.forEach(collection, function (value, waypoint) {
			collection[waypoint] = false;
		});
		collection[waypoint] = true;
	}
function setWaypoint(collection, waypoint) {
		angular.forEach(collection, function (value, waypoint) {
			collection[waypoint] = false;
		});
		collection[waypoint] = true;
	}
function setWaypoint ( collection , waypoint ) { angular . forEach ( collection , function ( value , waypoint ) { collection [ waypoint ] = false ; } ) ; collection [ waypoint ] = true ; }
Sets all waypoints in the colleciton to false, and sets the indicated waypoint to true.

@param Object collection
@param String waypoint
Sets all waypoints in the colleciton to false and sets the indicated waypoint to true .