{"action":"created","issue":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/160","labels_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/160/comments","events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/160/events","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/160","id":106316883,"number":160,"title":"Error: $compile:nonassign Non-Assignable Expression when adding filter ","user":{"login":"calvinKG","id":1926014,"avatar_url":"https://avatars.githubusercontent.com/u/1926014?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinKG","html_url":"https://github.com/calvinKG","followers_url":"https://api.github.com/users/calvinKG/followers","following_url":"https://api.github.com/users/calvinKG/following{/other_user}","gists_url":"https://api.github.com/users/calvinKG/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinKG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinKG/subscriptions","organizations_url":"https://api.github.com/users/calvinKG/orgs","repos_url":"https://api.github.com/users/calvinKG/repos","events_url":"https://api.github.com/users/calvinKG/events{/privacy}","received_events_url":"https://api.github.com/users/calvinKG/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-14T10:48:43Z","updated_at":"2015-09-19T14:59:59Z","closed_at":"2015-09-17T08:20:05Z","body":"Hi, \r\n\r\nI want filter all the calendar events using the types \r\n\r\nMatt Lewis gave me the following code but I get an error when implementing it. \r\n\r\nCode : events=\"vm.events | filter: {type: 'success'}\"\r\n\r\nMy code : <mwl-calendar\r\nevents=\"vm.events | filter: event.type\"\r\nview=\"vm.calendarView\"\r\nview-title=\"vm.calendarTitle\"\r\n\r\nError:\r\n\r\nError: $compile:nonassign\r\nNon-Assignable Expression\r\nExpression 'vm.events | filter: event.type' used with directive 'mwlCalendar' is non-assignable\r\n\r\nhttps://docs.angularjs.org/error/$compile/nonassign?p0=vm.events%20%7C%20filter:%20event.type&p1=mwlCalendar\\\r\n\r\n\r\nPlease help \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/comments/141677772","html_url":"https://github.com/mattlewis92/angular-bootstrap-calendar/issues/160#issuecomment-141677772","issue_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-calendar/issues/160","id":141677772,"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-09-19T14:59:59Z","updated_at":"2015-09-19T14:59:59Z","body":"Looks like an error with github or your connection to the internet"}}