I need to define a local model using ng-init. Unfortunately, I've got an error on the accent. Any idea?
<div ng-init="
descriptions = {
floraison: {
photos: [
{file:'1-PaniculeSansPollen', description:'Panicule sans pollen'},
{file:'2-DebutEmissionPollenSurLeBrinPrincipal', description:'Début émission pollen sur le brin principal'},
etc. (remaining part of the code has been removed for the question)
The error is as follows:
Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 430-430 [é] in expression [descriptions = {
floraison: {
photos: [
{file:'1-PaniculeSansPollen', description:'Panicule sans pollen'},
{file:'2-DebutEmissionPollenSurLeBrinPrincipal', description:'Début émission pollen sur le brin principal'},
[edit] Added fiddle: http://jsfiddle.net/stephanedeluca/bS6ZU/