I have the following route config...
angular.module('ng').
config(function ($routeProvider) {
$routeProvider.
when('/User_View/:username', { templateUrl: '/rest/tbot/run/User_View' })})
});
How do I pass the :username parameter to the server?
So the server receives the following request if the username is, e.g 'admin'...
/rest/tbot/run/User_View?userName=admin