Have a look at this plunk.
As for logging config.app_genres
in the view, not sure what you mean, care to elaborate?
Question
Hi there i'm trying prnting a simple json object to a div:
<div ng-repeat=" i in config.app_genres.genres">
{{ i }}
</div>
and
config.app_genres = {
"genres":["asd","ips"]
}
what's wrong with this?
Also how can i log config.app_genres
in a view?
Solution
Have a look at this plunk.
As for logging config.app_genres
in the view, not sure what you mean, care to elaborate?