Hi, Sander.
Thanks for your answer. I solved my problem couple hours ago. I have added 
$scope.$digest() in event handler. So now my code looks like this:

    var FormController = function ($scope, selectedObjectFactory, 
eventPropertiesFactory) {
           $scope.$on("ObjectSelected", function (event, selectedObject) {
                 $scope.attachedProperties =     
eventPropertiesFactory.GetPropertiesForEventById(selectedObject.selectedId); 
   
                 *$scope.$digest();*
            });
    }

It works for me, but I'm still not sure whether it correct solution or not.

Best regards,
Andriy

Субота, 13 вересня 2014 р. 13:48:06 UTC+3 користувач Sander Elias написав:
>
> Hi Andriy,
>
> Can you build a plunk out of this? The only problem I can see when I 
> browsed through your code, is the name 'FormController'. This might be 
> kinda of a reserved name. 
> To be certain I have to look it up..
>
> 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 [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.

Reply via email to