$scope.$apply(); throwing exception
On Sat, Mar 8, 2014 at 7:46 PM, Ziobudda <[email protected]> wrote: > > Hi.. > > Il giorno 08/mar/2014, alle ore 11:12, mohammad naveed < > [email protected]> ha scritto: > > > OwnerSrvc.query( //params{id:ids}, //my service giving me result fine > function(data) { > > console.log(data[0]); //result showing in > console OK i.e. Mr. Zain > $scope.owner = data; // but data not binding with > $scope.owner > > > Hi, have you tried to add > > $scope.$apply(); > > after this last line ? > > > M. > -- > Davide Morelli > [email protected] > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/o5jRoTbkNB8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
