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.
Merge pull request #1 from Layoric/angular-tips

Passed machine into $scope function actionEvent. h/t @Layoric