{"action":"created","issue":{"url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/2","labels_url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/2/comments","events_url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/2/events","html_url":"https://github.com/ethanhann/eeh-navigation/issues/2","id":56983204,"number":2,"title":"Adding items in .config ","user":{"login":"YossiH","id":6239273,"avatar_url":"https://avatars.githubusercontent.com/u/6239273?v=3","gravatar_id":"","url":"https://api.github.com/users/YossiH","html_url":"https://github.com/YossiH","followers_url":"https://api.github.com/users/YossiH/followers","following_url":"https://api.github.com/users/YossiH/following{/other_user}","gists_url":"https://api.github.com/users/YossiH/gists{/gist_id}","starred_url":"https://api.github.com/users/YossiH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YossiH/subscriptions","organizations_url":"https://api.github.com/users/YossiH/orgs","repos_url":"https://api.github.com/users/YossiH/repos","events_url":"https://api.github.com/users/YossiH/events{/privacy}","received_events_url":"https://api.github.com/users/YossiH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T02:57:22Z","updated_at":"2015-02-11T21:40:51Z","closed_at":null,"body":"This code adds sidebar menuitems without error, but the menuitems are not displayed.\r\n\r\nI'm sure the code is executed, because the 'hi from foreach' is displayed on the console, also, i stepped through the code and I'm sure it is being processed.\r\n\r\nAny suggestions?\r\n\r\n\r\n\t\t.config([\"initProvider\", 'eehNavigationProvider', function(initProvider, eehNavigationProvider) {\r\n\t\t\t\tinitProvider.$get().then(function (init) {\r\n\t\t\t\t\t\tangular.forEach(init, function (value, key) {\r\n\r\n\t\t\t\t\t\t\teehNavigationProvider.sidebarMenuItem(value.name, {\r\n\t\t\t\t\t\t\t\ttext: value.text,\r\n\t\t\t\t\t\t\t\ticonClass: value.iconClass,\r\n\t\t\t\t\t\t\t\thref: value.url || '/',\r\n\t\t\t\t\t\t\t\tisCollapsed: value.isCollapsed,\r\n\t\t\t\t\t\t\t\tisVisible: value.isVisible\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tconsole.log('hi from foreach');\r\n\t\t\t\t\t\t})\r\n                }"},"comment":{"url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/comments/73970603","html_url":"https://github.com/ethanhann/eeh-navigation/issues/2#issuecomment-73970603","issue_url":"https://api.github.com/repos/ethanhann/eeh-navigation/issues/2","id":73970603,"user":{"login":"ethanhann","id":402597,"avatar_url":"https://avatars.githubusercontent.com/u/402597?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanhann","html_url":"https://github.com/ethanhann","followers_url":"https://api.github.com/users/ethanhann/followers","following_url":"https://api.github.com/users/ethanhann/following{/other_user}","gists_url":"https://api.github.com/users/ethanhann/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanhann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanhann/subscriptions","organizations_url":"https://api.github.com/users/ethanhann/orgs","repos_url":"https://api.github.com/users/ethanhann/repos","events_url":"https://api.github.com/users/ethanhann/events{/privacy}","received_events_url":"https://api.github.com/users/ethanhann/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T21:40:51Z","updated_at":"2015-02-11T21:40:51Z","body":"Did you include the eeh-navigation directive in one of your templates?"}}