How to pass backend variable value to Angular scope

Here is another article which is very clear about how to do this. But for me, if do the same thing, I got "Lexer Error: Unexpected next character ..." error for the ngInit one.

Then I found out the for my case, my backend template symbol is "{{ }}", so the ngInit should be

<div ng-init="userEmail='{{user.email}}'">

So don't forget the single quote.