voltagex/junkcode — pull request #1 by Layoric (2014-11-15 23:44:46+00:00)
Title: Passed machine into $scope function actionEvent.

$scope is for your whole controller VMListCtrl.
You could also use $index if you don't want the whole machine. Eg,
actionEvent($index), this will pass the int index of the nearest ng-repeat.
In this case, it would be for ng-repeat="machine in machines".

Haven't tested code, but hope that helps.