{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/703","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/703/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/703/events","html_url":"https://github.com/Urigo/angular-meteor/issues/703","id":107875668,"number":703,"title":"Upgrade to Meteor 1.2.0.1 breaks the app","user":{"login":"cellulosa","id":1758593,"avatar_url":"https://avatars.githubusercontent.com/u/1758593?v=3","gravatar_id":"","url":"https://api.github.com/users/cellulosa","html_url":"https://github.com/cellulosa","followers_url":"https://api.github.com/users/cellulosa/followers","following_url":"https://api.github.com/users/cellulosa/following{/other_user}","gists_url":"https://api.github.com/users/cellulosa/gists{/gist_id}","starred_url":"https://api.github.com/users/cellulosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellulosa/subscriptions","organizations_url":"https://api.github.com/users/cellulosa/orgs","repos_url":"https://api.github.com/users/cellulosa/repos","events_url":"https://api.github.com/users/cellulosa/events{/privacy}","received_events_url":"https://api.github.com/users/cellulosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-23T08:57:41Z","updated_at":"2015-09-24T14:29:04Z","closed_at":null,"body":"```javascript\r\n[Error] Error: [$injector:nomod] Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.\r\nhttp://errors.angularjs.org/1.4.6/$injector/nomod?p0=myApp\r\n    (anonymous function) (angular_angular.js, line 2019)\r\n    ensure (angular_angular.js, line 1941)\r\n    module (angular_angular.js, line 2015)\r\n    (anonymous function) (routes.ng.js, line 1)\r\n    global code (routes.ng.js, line 58)\r\n```\r\n\r\nThe app is built following the [Getting started angular-meteor tutorial](https://angular-meteor.com/tutorialIntro).\r\n\r\n```javascript\r\n// client/lib/app.js\r\nangular.module('myApp', ['angular-meteor', 'ui.router']);\r\n```\r\n\r\n```javascript\r\n// client/routes.ng.js\r\nangular.module(\"myApp\").config(\r\n    function($urlRouterProvider, $stateProvider, $locationProvider){\r\n\r\n        $locationProvider.html5Mode(true);\r\n\r\n        $stateProvider\r\n            .state('index', {\r\n                url: '/',\r\n                templateUrl: 'client/index/views/index.ng.html',\r\n                controller: 'IndexCtrl'\r\n            });\r\n\r\n        $urlRouterProvider.otherwise('/404');\r\n    }\r\n);\r\n```\r\n\r\n```javascript\r\n// client/index/controllers/index.ng.js\r\nangular.module(\"myApp\").controller(\"IndexCtrl\",\r\n    function($scope, $meteor, $state){\r\n\r\n    }\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/142946160","html_url":"https://github.com/Urigo/angular-meteor/issues/703#issuecomment-142946160","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/703","id":142946160,"user":{"login":"shantanubhadoria","id":545290,"avatar_url":"https://avatars.githubusercontent.com/u/545290?v=3","gravatar_id":"","url":"https://api.github.com/users/shantanubhadoria","html_url":"https://github.com/shantanubhadoria","followers_url":"https://api.github.com/users/shantanubhadoria/followers","following_url":"https://api.github.com/users/shantanubhadoria/following{/other_user}","gists_url":"https://api.github.com/users/shantanubhadoria/gists{/gist_id}","starred_url":"https://api.github.com/users/shantanubhadoria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shantanubhadoria/subscriptions","organizations_url":"https://api.github.com/users/shantanubhadoria/orgs","repos_url":"https://api.github.com/users/shantanubhadoria/repos","events_url":"https://api.github.com/users/shantanubhadoria/events{/privacy}","received_events_url":"https://api.github.com/users/shantanubhadoria/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T14:29:04Z","updated_at":"2015-09-24T14:29:04Z","body":"I am facing the same error. The whole load order seems to be broken. Even though my app.js is inside client/lib it still doesn't load before other files in client/\r\n\r\nThe new Meteor Package has lot of changes. I am not sure you will get the same result all by a straight upgrade of a existing meteor code as the default package names have changed. \r\nmeteor-package is changed to meteor-base among other new addition. \r\nTo replicate this error you will have to start a new meteor base project, do 'meteor add angular' and then go from there.\r\nHTH"}}