After updating Meteor 1.3.0 and using Urigo:angular.
TypeError: Cannot read property ‘invoke’ of undefined
Tracker.afterFlush(function () {
$( document ).ready(function() {
angular.element(document.body).injector().invoke(['$compile', '$document', '$rootScope',
function ($compile, $document, $rootScope) {
$compile($document)($rootScope);
if (!$rootScope.$$phase)
$rootScope.$apply();
}
]);
});
})
but i’m getting object from angular.element(document.body) but when i’m trying injector it’s got undefined.
before upgradation it was working fine.