0

I want passing variables to AngularJS directive without using isolated scope. I need this variables are updated, and not static. I read this example, the last answer:

Directive scope attributes without an isolated scope in AngularJS

But it works only with string, and not object.

Community
  • 1
  • 1
Laurianti
  • 903
  • 1
  • 5
  • 19
  • 1
    why don't you wanted to use `isolated scope`? – Pankaj Parkar Jun 14 '16 at 16:06
  • 1
    This is related: http://stackoverflow.com/questions/17900201/how-to-access-parent-scope-from-within-a-custom-directive-with-own-scope-in-an. I think `scope: true` is what you're looking for. – Muli Yulzary Jun 14 '16 at 16:11
  • I cannot use isolated scope because I have to access to scope controller, and I'm passing dinamic parameters, in same directive – Laurianti Jun 14 '16 at 16:20

0 Answers0