First of all thank you for solving it :).

I could swear I tried that and it failed. I must have messed something in
the process or leave some other debug code that broke it for me so
eventually I gave up.

Now when this works, I have more general question: Is this correct approach
to solving this kind of problem in angular world? Could I do it in
cleaner/better way?


On Fri, Oct 17, 2014 at 2:41 PM, Sean Amoroso <[email protected]> wrote:

>  Looks like the main problem was not including the controllerAs syntax.
>
>
>> This also works too:  scope.$watch('fmSSCtrl.spaceModel.top', function()
>>> {
>>>                     element.css('top', scope.fmSSCtrl.getCssTop());
>>>                 });
>>>
>>  --
> 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/X0oaFp_vh8c/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.
>



-- 
Best regards,

Michał Kocztorz

Skype ID: michal_kocztorz


Polcode SA

ul. Hoża 13, 00-528 Warszawa

http://www.polcode.com/

T: +48 22 825 50 47


Spółka zarejestrowana w Sądzie Rejonowym dla m.st. Warszawy XII, Wydział
Gospodarczy KRS pod numerem 0000482235, NIP PL 701-021-72-88, o kapitale
zakładowym 300.000 zł, wpłaconym w całości.

-- 
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