Engine Rest and CSRF

I have an app which uses csrf on tomcat. When I make call to the Engine-rest API, I get a unexpected taken error in my angular call to rest api. How can I enable the csrf consumption for engine rest calls?

Error: [$parse:syntax] Syntax Error: Token ‘b1e2ce’ is an unexpected token at column 3 of the expression [91b1e2ce-b25f-42bd-a373-5ee17ef84409] starting at [b1e2ce-b25f-42bd-a373-5ee17ef84409].

Hi @adat,

What specifically makes you think its an Engine REST / CSRF problem?

Conor.

Sorry, It was not the Engine rest issue. The csrf token was somehow getting parsed in the ngvalue, which I fixed.