{"action":"closed","issue":{"url":"https://api.github.com/repos/krescruz/angular-materialize/issues/51","labels_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/51/comments","events_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/51/events","html_url":"https://github.com/krescruz/angular-materialize/issues/51","id":98106297,"number":51,"title":"build tabs via ng-repeat?","user":{"login":"cskiwi","id":847540,"avatar_url":"https://avatars.githubusercontent.com/u/847540?v=3","gravatar_id":"","url":"https://api.github.com/users/cskiwi","html_url":"https://github.com/cskiwi","followers_url":"https://api.github.com/users/cskiwi/followers","following_url":"https://api.github.com/users/cskiwi/following{/other_user}","gists_url":"https://api.github.com/users/cskiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/cskiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cskiwi/subscriptions","organizations_url":"https://api.github.com/users/cskiwi/orgs","repos_url":"https://api.github.com/users/cskiwi/repos","events_url":"https://api.github.com/users/cskiwi/events{/privacy}","received_events_url":"https://api.github.com/users/cskiwi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T07:54:32Z","updated_at":"2015-07-30T07:56:25Z","closed_at":"2015-07-30T07:56:25Z","body":"say you want to generate the tabs dynamicly, you would have to do the following right?\r\n\r\n`````html\r\n<div class=\"row\">\r\n    <div class=\"col s12\">\r\n        <ul class=\"tabs\" tabs>\r\n            <li class=\"tab col s3\" ng-repeat=\"detailTab in tabUsers\"><a ng-href=\"#{{detailTab.name}}\">{{detailTab.name}}</a></li>\r\n        </ul>\r\n    </div>\r\n    <div ng-repeat=\"detailTab in tabUsers\" id=\"{{detailTab.name}}\" class=\"col s12\">{{detailTab.content}}</div>\r\n</div>\r\n````\r\n\r\nand with the follwoing in the controller:\r\n\r\n````javascript\r\n$scope.tabUsers = [\r\n    {\r\n        name: \"test\",\r\n        content: \"Stuff\"\r\n    },\r\n    {\r\n        name: \"test2\",\r\n        content: \"Stuff2\"\r\n    }\r\n];\r\n````\r\n\r\nthis would work you think?\r\nbut not I'm getting the following:\r\n`TypeError: Cannot read property 'hash' of undefined`"}}