Beta
Member since Jun 18, 2016
- Profile: /members/13218-beta.htm
- Comments: 2
Recent Blog Comments By Beta
-
Accessing The View-Model Inside The Link Function When Using Controller-As In AngularJS
Posted on Jun 23, 2016 at 12:38 AM
@Ben, While i was preparing a plunker for this case, I did some changes on the naming of controllers and I saw it was working. I investigated a bit this naming issue to my project where the problem was happening and it was strange that a certain name of controller in directive was causing this and ... read more »
-
Accessing The View-Model Inside The Link Function When Using Controller-As In AngularJS
Posted on Jun 18, 2016 at 5:11 AM
What about changing property value from controller inside directive. It seems that it's loosing 2 way data-binding. Ex. controller.someProp = "Somevalue";// doesn't work It's not being reflected in controller, but if it's gone through scope it's fine: scope.controllerAs.someProp = "... read more »