I have spring controller defined as
@Controller
public class TestController {
private Logger logger = LoggerFactory.getLogger(getClass());
@Request
I had this problem for some time . I used a 'hackish' way to access a variable added as a modal attribute in the backend .
let say you have added "some-data"
to the model like follows.
model.addAttribute("some-data-id", "some-data");
in the jsp where the ctrl is initializing add the attribute to a hidden html element such as a span
and in the controller , retrieve the value using angular.element('#some-data-id').innerHTML