Use single quotes, or escape the "'s inside your expression, what happens 
is that your effectively instructing ng-init to do: <div 
ng-init="data.icon3 = { " ></div>... which for good reasons it does not 
understand....

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to