{"action":"created","issue":{"url":"https://api.github.com/repos/rdash/rdash-angular/issues/111","repository_url":"https://api.github.com/repos/rdash/rdash-angular","labels_url":"https://api.github.com/repos/rdash/rdash-angular/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/rdash/rdash-angular/issues/111/comments","events_url":"https://api.github.com/repos/rdash/rdash-angular/issues/111/events","html_url":"https://github.com/rdash/rdash-angular/issues/111","id":132944968,"number":111,"title":"UI is broken","user":{"login":"anshulix","id":8200023,"avatar_url":"https://avatars.githubusercontent.com/u/8200023?v=3","gravatar_id":"","url":"https://api.github.com/users/anshulix","html_url":"https://github.com/anshulix","followers_url":"https://api.github.com/users/anshulix/followers","following_url":"https://api.github.com/users/anshulix/following{/other_user}","gists_url":"https://api.github.com/users/anshulix/gists{/gist_id}","starred_url":"https://api.github.com/users/anshulix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshulix/subscriptions","organizations_url":"https://api.github.com/users/anshulix/orgs","repos_url":"https://api.github.com/users/anshulix/repos","events_url":"https://api.github.com/users/anshulix/events{/privacy}","received_events_url":"https://api.github.com/users/anshulix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T11:12:01Z","updated_at":"2016-02-12T04:56:23Z","closed_at":null,"body":"I do not understand the reason of this, might be because of angular version. What could be the reason behind this? below is the snapshot for the same.\r\n![issue-dashboard](https://cloud.githubusercontent.com/assets/8200023/12974968/3fb229f8-d0de-11e5-82a8-4a7b533be213.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/rdash/rdash-angular/issues/comments/183180223","html_url":"https://github.com/rdash/rdash-angular/issues/111#issuecomment-183180223","issue_url":"https://api.github.com/repos/rdash/rdash-angular/issues/111","id":183180223,"user":{"login":"anshulix","id":8200023,"avatar_url":"https://avatars.githubusercontent.com/u/8200023?v=3","gravatar_id":"","url":"https://api.github.com/users/anshulix","html_url":"https://github.com/anshulix","followers_url":"https://api.github.com/users/anshulix/followers","following_url":"https://api.github.com/users/anshulix/following{/other_user}","gists_url":"https://api.github.com/users/anshulix/gists{/gist_id}","starred_url":"https://api.github.com/users/anshulix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshulix/subscriptions","organizations_url":"https://api.github.com/users/anshulix/orgs","repos_url":"https://api.github.com/users/anshulix/repos","events_url":"https://api.github.com/users/anshulix/events{/privacy}","received_events_url":"https://api.github.com/users/anshulix/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T04:56:23Z","updated_at":"2016-02-12T04:56:23Z","body":"The only issue here is that in the github repo for rdash they have not provided directive for the ones used, you could create 'alert' tagName directive and provide template to it or for my ease I've changed 'close' attr to 'ng-click' and 'alert' tagName to 'div'. Yes I'll provide ng-class for having different colors based on alert type.\r\n` <div data-ng-repeat=\"alert in alerts\" ng-class=\"alertClass\" type=\"{{alert.type}}\" data-ng-click=\"closeAlert($index)\">{{alert.msg}}</div>` "}}