{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/98","labels_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/98/comments","events_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/98/events","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/98","id":127206314,"number":98,"title":"Helpers/subscribe not working","user":{"login":"xavierva","id":3062366,"avatar_url":"https://avatars.githubusercontent.com/u/3062366?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierva","html_url":"https://github.com/xavierva","followers_url":"https://api.github.com/users/xavierva/followers","following_url":"https://api.github.com/users/xavierva/following{/other_user}","gists_url":"https://api.github.com/users/xavierva/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierva/subscriptions","organizations_url":"https://api.github.com/users/xavierva/orgs","repos_url":"https://api.github.com/users/xavierva/repos","events_url":"https://api.github.com/users/xavierva/events{/privacy}","received_events_url":"https://api.github.com/users/xavierva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-18T11:20:20Z","updated_at":"2016-01-28T14:29:15Z","closed_at":null,"body":"Hi,\r\n\r\nI'm following the new synthax standart for subscribe and helpers, but I just get no data at all : \r\n\r\nCreation of my collection : \r\n```\r\n\r\nEvents = new Mongo.Collection(\"events\");\r\n\r\nEvents.allow({\r\n  insert: function () {\r\n    return true;\r\n  },\r\n  update: function () {\r\n    return true;\r\n  },\r\n  remove: function () {\r\n    return true;\r\n  }\r\n\r\n});\r\n```\r\n\r\nMy publish looks like this : \r\n```\r\n\r\nMeteor.publish('allEvents', function () {\r\n    return Events.find();\r\n});\r\n```\r\n\r\nAnd in my  controler I have it like this : \r\n```\r\n\r\nangular.module('Myapp').controller('CarsListCtrl', ['$scope', '$stateParams', '$meteor', '$state', '$rootScope',\r\n    '$mdDialog', '$mdToast', '$document', '$location', '$timeout', '$translate', '$reactive',\r\n    function ($scope, $stateParams, $meteor, $state, $rootScope, $mdDialog, $mdToast, $document, $location, $timeout, $translate, $reactive) {\r\n\r\n        $reactive(this).attach($scope);\r\n\r\n        this.subscribe('allEvents');\r\n  \r\n\r\n        $scope.helpers({\r\n            theEvent: () => {\r\n                Events.findOne({_id: $stateParams.eventId});\r\n            }\r\n        });\r\n\r\n console.debug($scope.theEvent);\r\n\r\n```\r\n\r\nTheEvent is return as undefined in my log\r\n"},"comment":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/comments/176208280","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/98#issuecomment-176208280","issue_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/98","id":176208280,"user":{"login":"xavierva","id":3062366,"avatar_url":"https://avatars.githubusercontent.com/u/3062366?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierva","html_url":"https://github.com/xavierva","followers_url":"https://api.github.com/users/xavierva/followers","following_url":"https://api.github.com/users/xavierva/following{/other_user}","gists_url":"https://api.github.com/users/xavierva/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierva/subscriptions","organizations_url":"https://api.github.com/users/xavierva/orgs","repos_url":"https://api.github.com/users/xavierva/repos","events_url":"https://api.github.com/users/xavierva/events{/privacy}","received_events_url":"https://api.github.com/users/xavierva/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T14:29:15Z","updated_at":"2016-01-28T14:29:15Z","body":"Hi, actually I also have it in my DOM, but nothing is displayed. With the old synthax it works perfectly\r\n\r\n` <h2 layout-align=\"center center\" layout-align-sm=\"end end\">\r\n                    <div><p><b>{{theEvent.nameevent | uppercase}}</b></p>\r\n                    </div>\r\n                </h2>`"}}