app.controller('repo.environments', ['$scope', '$stateParams', 'artifacts', function($scope, $stateParams, artifacts) {
	$scope.owner = $stateParams.owner
	$scope.repo = $stateParams.repo
	$scope.artifacts = artifacts

	$scope.activate = function() {
		artifacts.set_repo($stateParams.owner, $stateParams.repo)
	}
	$scope.activate()
}])
