{"action":"created","issue":{"url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/5","labels_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/5/comments","events_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/5/events","html_url":"https://github.com/rajeshwarpatlolla/ionic-ratings/issues/5","id":109426682,"number":5,"title":"Bugs in default value for attribute 'rating' and 'minRating'","user":{"login":"l1nknyto","id":12774154,"avatar_url":"https://avatars.githubusercontent.com/u/12774154?v=3","gravatar_id":"","url":"https://api.github.com/users/l1nknyto","html_url":"https://github.com/l1nknyto","followers_url":"https://api.github.com/users/l1nknyto/followers","following_url":"https://api.github.com/users/l1nknyto/following{/other_user}","gists_url":"https://api.github.com/users/l1nknyto/gists{/gist_id}","starred_url":"https://api.github.com/users/l1nknyto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l1nknyto/subscriptions","organizations_url":"https://api.github.com/users/l1nknyto/orgs","repos_url":"https://api.github.com/users/l1nknyto/repos","events_url":"https://api.github.com/users/l1nknyto/events{/privacy}","received_events_url":"https://api.github.com/users/l1nknyto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T04:19:25Z","updated_at":"2015-10-02T07:59:52Z","closed_at":null,"body":"Hi Rajeshwar,\r\n\r\nNice works for the ionic-ratings.\r\nWhen i try your component, i can't set 0 for rating or minRating.\r\nI have try your codepen and same issue still happening.\r\nHere's what i try in codepen and its work:\r\n\r\n        scope.rating = (typeof scope.ratingsObj.rating !== 'undefined') ? scope.ratingsObj.rating : 0;\r\n        scope.minRating = (typeof scope.ratingsObj.minRating !== 'undefined') ? scope.ratingsObj.minRating : 0;\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/comments/144950146","html_url":"https://github.com/rajeshwarpatlolla/ionic-ratings/issues/5#issuecomment-144950146","issue_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-ratings/issues/5","id":144950146,"user":{"login":"rajeshwarpatlolla","id":9896335,"avatar_url":"https://avatars.githubusercontent.com/u/9896335?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeshwarpatlolla","html_url":"https://github.com/rajeshwarpatlolla","followers_url":"https://api.github.com/users/rajeshwarpatlolla/followers","following_url":"https://api.github.com/users/rajeshwarpatlolla/following{/other_user}","gists_url":"https://api.github.com/users/rajeshwarpatlolla/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeshwarpatlolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeshwarpatlolla/subscriptions","organizations_url":"https://api.github.com/users/rajeshwarpatlolla/orgs","repos_url":"https://api.github.com/users/rajeshwarpatlolla/repos","events_url":"https://api.github.com/users/rajeshwarpatlolla/events{/privacy}","received_events_url":"https://api.github.com/users/rajeshwarpatlolla/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T07:59:52Z","updated_at":"2015-10-02T07:59:52Z","body":"Thanks for sharing this with me. I will add this snippet in the next release."}}