I have spring controller defined as
@Controller public class TestController { private Logger logger = LoggerFactory.getLogger(getClass()); @Request
I've faced with the same issue, but ($location.search()).attributeKey doesn't work for me. In my angularJs controller I'm receiving 'undefined' value via ($location.search()).attributeKey.
($location.search()).attributeKey