Angular controller

sraController source

The main controller for SIMRacingApps. This copies any variables from the URL query string to $scope. It prepends "sraArgs" to the variable name after converting it to uppercase.

For example: ?somevar=somevalue
gets added to $scope.sraArgsSOMEVAR = somevalue

This controller also loads the global translation files that are used for translating any values returned from the server.

If the browser's debugger is active, it will stop on the "debugger" statement. That allows you to add your own break points in your code, then continue.