Menu

#90 Directives inside modal scope don't correctly bind to the controller

open
nobody
None
2016-06-22
2015-07-25
Anonymous
No

Originally created by: vlatkodrljin

When i create some directive in modal template definition and try send from modal controller some scope params in directive isolated scope, params in directive are undefined.

Demonstrating example:
https://jsfiddle.net/ztqvavcu/

Related

Tickets: #71

Discussion

  • Anonymous

    Anonymous - 2015-12-29

    Originally posted by: fdn

    +1.

    The proposed fix isn't great though since the $element isn't included in the inputs. I'm going forward with the reorder and avoiding the $element in my controller. It's a limitation but required if you have directives that aren't using two-way binding.

     
  • Anonymous

    Anonymous - 2016-06-22

    Originally posted by: ipavlic

    That's basically the same issue as [#71], and it's quite frustrating.

     

    Related

    Tickets: #71


Log in to post a comment.