In your jQuery version, how do you set the param parameter?
I would guess that some of this data is related to the thing you are clicking on and some of it is related to the underlying state of the model?
Generally in angular you would create a domain model of data for your business logic and this would hold the underlying state. Then the click call would only need to pass parameters that were specifically related to this click.
I would even go so far as to call different methods from ng-click all the parameter is doing is telling the getData function to run a different code path.
Perhaps something like this?