Extract moods to angular js