Hi Harila..., just use the function you return in the $watch. And is there an reason you are keeping the length in a extra private variable? you could return factroyList.length without an issue..
in your controller: $scope.$watch(servicename.returningListLengthFunction, function (newLen, oldLen) { //do your stuff here.. }); Regards Sander -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.