yes, that's all working ok. Problem is 3rd party directives that expect data on $scope. e.g., I am using angular-grid and it's complaining that it can't find gridOptions as it uses $scope.eval() to get the data. I was able to hack it by using $scope.$watch but I can't do it for every 3rd party directive. Please let me know if there is an alternative solution.
On Tuesday, September 8, 2015 at 6:15:34 PM UTC+3, Sander Elias wrote: > > the component router exposes the controller to the scope using the > components name. > so in your html you can do something like this: > > <my-Awesomeness parameter="mycomponentsName.name"> > > > So, you don't need a direct reference to $scope to pass the data. If this > is not clear to you, build a sample plunk > <http://plnkr.co/edit/tpl:bSBatno6Z85VMCtxF4KK>, and I will show you how > it's working! > 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.
