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.

3
  • 1
    why don't you wanted to use isolated scope? Commented Jun 14, 2016 at 16:06
  • 1
    This is related: stackoverflow.com/questions/17900201/…. I think scope: true is what you're looking for. Commented Jun 14, 2016 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 Commented Jun 14, 2016 at 16:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.