Hi,
The plunker below that demonstrates (among other things) how I use an
html attribute named *config* to pass on information
that can be used to configure the shared html-template and give identity to
multiple instances of the same isolated directive.
It looks like this:
<my-drt config='{"useBold": false, "addButton": true, "identity":
"id_01", "msg": "scope_01"}' ></my-drt>
This works fine in versions Angular versions below 1.2.0 (in the plunker I
use 1.0.8), but if you use 1.2.0 of higher, angular.fromJson()
seems to behave differently:
http://plnkr.co/edit/saMuEn?p=preview
I need to use angular > 1.2.0 for other reasons, but my production code
uses this construct in many places, so any advise or work-around
will be highly appreciated.
Regards,
Claus
--
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/groups/opt_out.