This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
[1.4.9] $compile:nonassign error in directive #13832
Closed
Description
I created directive, isolated scope has a bi-directional binding isOpen: '='
. In html I didn't set is-open
attribute, but do it in a click handler. In that case $compile:nonassign error is thrown.
Here the a simple plunk demonstrating the issue - plunk (error is in console)
For version 1.4.8 all works good - here the same plunk but for 1.4.8 version.
This can be fixed but making binding optional isOpen: '=?'
, but is this a bug in 1.4.9 or not?