templates/interface/js/ngapimock.controller.js
function echoMock(mock, echo) {
            mockService.update({'identifier': mock.identifier, 'echo': echo}, function () {
                vm.echos[mock.identifier] = echo;
            });
        }
function echoMock(mock, echo) {
            mockService.update({'identifier': mock.identifier, 'echo': echo}, function () {
                vm.echos[mock.identifier] = echo;
            });
        }
function echoMock ( mock , echo ) { mockService . update ( { 'identifier' : mock . identifier , 'echo' : echo } , function ( ) { vm . echos [ mock . identifier ] = echo ; } ) ; }
Update the given Echo indicator.
@param mock The mock.
@param echo The echo.
Update the given Echo indicator .