{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/6098","labels_url":"https://api.github.com/repos/angular/material/issues/6098/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/6098/comments","events_url":"https://api.github.com/repos/angular/material/issues/6098/events","html_url":"https://github.com/angular/material/issues/6098","id":120543887,"number":6098,"title":"[BUG](1.0.0-rc6)theConsoleLog:Cannot read property 'warn' of undefind","user":{"login":"zhougonglai","id":10954751,"avatar_url":"https://avatars.githubusercontent.com/u/10954751?v=3","gravatar_id":"","url":"https://api.github.com/users/zhougonglai","html_url":"https://github.com/zhougonglai","followers_url":"https://api.github.com/users/zhougonglai/followers","following_url":"https://api.github.com/users/zhougonglai/following{/other_user}","gists_url":"https://api.github.com/users/zhougonglai/gists{/gist_id}","starred_url":"https://api.github.com/users/zhougonglai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhougonglai/subscriptions","organizations_url":"https://api.github.com/users/zhougonglai/orgs","repos_url":"https://api.github.com/users/zhougonglai/repos","events_url":"https://api.github.com/users/zhougonglai/events{/privacy}","received_events_url":"https://api.github.com/users/zhougonglai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-05T09:45:40Z","updated_at":"2015-12-07T09:27:30Z","closed_at":null,"body":"The problems \r\nshow's up in my project,in:\r\nhttps://zhougonglai.github.io/ecshop/ecshop/shopping.html\r\nThe poor English.........................\r\nPlease tell me what is going wrong?"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/162460244","html_url":"https://github.com/angular/material/issues/6098#issuecomment-162460244","issue_url":"https://api.github.com/repos/angular/material/issues/6098","id":162460244,"user":{"login":"jameswyse","id":1144357,"avatar_url":"https://avatars.githubusercontent.com/u/1144357?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswyse","html_url":"https://github.com/jameswyse","followers_url":"https://api.github.com/users/jameswyse/followers","following_url":"https://api.github.com/users/jameswyse/following{/other_user}","gists_url":"https://api.github.com/users/jameswyse/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswyse/subscriptions","organizations_url":"https://api.github.com/users/jameswyse/orgs","repos_url":"https://api.github.com/users/jameswyse/repos","events_url":"https://api.github.com/users/jameswyse/events{/privacy}","received_events_url":"https://api.github.com/users/jameswyse/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T09:27:30Z","updated_at":"2015-12-07T09:27:30Z","body":"Also seeing this after upgrading to 1.0.0-rc6. I noticed it only happens after a state change (I'm using ui-router) - If I load the state directly by refreshing the page it correctly logs the warning.\r\n\r\n```\r\nTypeError: Cannot read property 'warn' of undefined\r\n    at validateAttributeUsage (http://localhost:5000/static/app.js?t=b88d832:40299:23)\r\n    at Object.compile (http://localhost:5000/static/app.js?t=b88d832:40230:21)\r\n    at applyDirectivesToNode (http://localhost:5000/static/app.js?t=b88d832:79032:38)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78730:50)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78734:138)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78734:138)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78734:138)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78734:138)\r\n    at compileNodes (http://localhost:5000/static/app.js?t=b88d832:78734:138)\r\n    at compile (http://localhost:5000/static/app.js?t=b88d832:78671:35)\r\n```\r\n\r\n```html\r\n<md-button type=\"button\" aria-label=\"Open Menu\" ng-click=\"$mdOpenMenu($event)\" flex=\"\" aria-haspopup=\"true\">\r\n```\r\n\r\n> Markup '<md-button flex></md-button>' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details."}}