{"action":"created","issue":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/233","labels_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/233/comments","events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/233/events","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/233","id":121626418,"number":233,"title":"Calendar Component :   When user click on the text, only that time works the hyperlink. better to expand it to whole cell (Year, Month, Week)","user":{"login":"sajithasela","id":16249527,"avatar_url":"https://avatars.githubusercontent.com/u/16249527?v=3","gravatar_id":"","url":"https://api.github.com/users/sajithasela","html_url":"https://github.com/sajithasela","followers_url":"https://api.github.com/users/sajithasela/followers","following_url":"https://api.github.com/users/sajithasela/following{/other_user}","gists_url":"https://api.github.com/users/sajithasela/gists{/gist_id}","starred_url":"https://api.github.com/users/sajithasela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajithasela/subscriptions","organizations_url":"https://api.github.com/users/sajithasela/orgs","repos_url":"https://api.github.com/users/sajithasela/repos","events_url":"https://api.github.com/users/sajithasela/events{/privacy}","received_events_url":"https://api.github.com/users/sajithasela/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-11T03:03:21Z","updated_at":"2015-12-29T16:48:36Z","closed_at":"2015-12-29T16:48:36Z","body":"Calendar Component :  \r\nWhen user click on the text, only that time works the hyperlink. better to expand it to whole cell\r\n(Year, Month, Week)\r\n![hyperlink](https://cloud.githubusercontent.com/assets/16249527/11803027/7d45f6c6-a331-11e5-99e2-cb12c8727b77.JPG)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/comments/167828468","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/233#issuecomment-167828468","issue_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/233","id":167828468,"user":{"login":"mattlewis92","id":6425649,"avatar_url":"https://avatars.githubusercontent.com/u/6425649?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlewis92","html_url":"https://github.com/mattlewis92","followers_url":"https://api.github.com/users/mattlewis92/followers","following_url":"https://api.github.com/users/mattlewis92/following{/other_user}","gists_url":"https://api.github.com/users/mattlewis92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlewis92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlewis92/subscriptions","organizations_url":"https://api.github.com/users/mattlewis92/orgs","repos_url":"https://api.github.com/users/mattlewis92/repos","events_url":"https://api.github.com/users/mattlewis92/events{/privacy}","received_events_url":"https://api.github.com/users/mattlewis92/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T16:48:36Z","updated_at":"2015-12-29T16:48:36Z","body":"After more thought I realised you can use the existing `on-timespan-click` hook to implement this yourself:\r\n`on-timespan-click=\"vm.changeView(calendarDate)\"`\r\n\r\n```\r\nvm.changeView = function(date) {\r\n  if (vm.calendarView === 'month') {\r\n    vm.calendarDay = date;\r\n    vm.calendarView = 'day';\r\n  } else if (vm.calendarView === 'year') {\r\n    vm.calendarDay = date;\r\n    vm.calendarView = 'month';\r\n  }\r\n}\r\n```"}}