{"action":"closed","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/513","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/513/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/513/events","html_url":"https://github.com/Urigo/angular-meteor/issues/513","id":94494113,"number":513,"title":"$meteor.collectionFS is undefined","user":{"login":"jasonaibrahim","id":2200729,"avatar_url":"https://avatars.githubusercontent.com/u/2200729?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonaibrahim","html_url":"https://github.com/jasonaibrahim","followers_url":"https://api.github.com/users/jasonaibrahim/followers","following_url":"https://api.github.com/users/jasonaibrahim/following{/other_user}","gists_url":"https://api.github.com/users/jasonaibrahim/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonaibrahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonaibrahim/subscriptions","organizations_url":"https://api.github.com/users/jasonaibrahim/orgs","repos_url":"https://api.github.com/users/jasonaibrahim/repos","events_url":"https://api.github.com/users/jasonaibrahim/events{/privacy}","received_events_url":"https://api.github.com/users/jasonaibrahim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-11T17:42:14Z","updated_at":"2015-07-12T21:11:54Z","closed_at":"2015-07-12T21:11:54Z","body":"I'm following your tutorial and I've added the ```cfs:standard-packages``` and ```cfs:filesystem``` and using $meteor.collectionFS in my controller, but it comes up as undefined.\r\n\r\n```js\r\nangular\r\n    .module('rmr')\r\n    .controller('MainPageController', ['$meteor', '$mdDialog', MainPageController]);\r\n\r\nfunction MainPageController($meteor, $mdDialog) {\r\n\r\n    var self = this;\r\n\r\n    console.log($meteor.collectionFS);\r\n\r\n    self.images = $meteor.collectionFS(Images, false, Images).subscribe('images');\r\n\r\n    self.showAddImageDialog = function (ev) {\r\n        $mdDialog.show({\r\n            controller: ['$meteor', '$scope', '$mdDialog', AddResumeDialogController],\r\n            templateUrl: 'client/templates/add-image-dialog.ng.html',\r\n            parent: angular.element(document.body),\r\n            targetEvent: ev\r\n        }).then(function(answer) {\r\n            self.alert = 'You said the information was \"' + answer + '\".';\r\n        }, function() {\r\n            self.alert = 'You cancelled the dialog.';\r\n        });\r\n    };\r\n\r\n}\r\n```\r\n\r\nand the error:\r\n\r\n```\r\nTypeError: $meteor.collectionFS is not a function\r\n    at new MainPageController (http://localhost:3000/client/controllers/main-page-controller.js?4000a4064d5f977a76e0a84b567398327b58bc94:11:28)\r\n    at invoke (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:4473:17)\r\n    at Object.instantiate (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:4481:27)\r\n    at http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:9036:28\r\n    at compile (http://localhost:3000/packages/angularui_angular-ui-router.js?0fee3f373f243004038933350f526dbbbd370b47:4048:28)\r\n    at invokeLinkFn (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:8672:9)\r\n    at nodeLinkFn (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:8172:11)\r\n    at compositeLinkFn (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:7564:13)\r\n    at publicLinkFn (http://localhost:3000/packages/angular_angular.js?189b3e78cb97be1a5ce2a67042cbc7de893fa8c1:7439:30)\r\n    at updateView (http://localhost:3000/packages/angularui_angular-ui-router.js?0fee3f373f243004038933350f526dbbbd370b47:3989:23) <div ui-view=\"\" class=\"ng-scope\">\r\n```"}}