0

I am following the angular tutorial HERE, but when I get to step 6 and try to add the $mongoObject using:

angular.module("socially").controller("PartyDetailsCtrl", ['$scope', '$stateParams', '$meteorObject',
    function($scope, $stateParams, $meteorObject) {
        $scope.party = $meteorObject(Parties, $stateParams.partyId);
    }
]);

I get the following error

enter image description here

2
  • Are you missing any script files? Can you provide your ng-app declaration? Commented Jan 10, 2015 at 23:28
  • @salniro it seems like it is a angular-meteor package issue github.com/Urigo/angular-meteor/issues/… Commented Jan 11, 2015 at 1:09

1 Answer 1

1

Please try to run

meteor update

to update to the latest version.

Let me know if it worked,

Good luck

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.