This is an extension of the previous question (and similar questions) in which I asked if it is possible to have an attribute in the directive to allow the transfer of such a value.
<my-directive att> //Evaluates to true
<my-directive att="true">
<my-directive att="false">
<my-directive att="51">
<my-directive att="51.234">
<my-directive att="'john smith'">
or, can use two-way binding to a variable in an area like this.
<my-directive att="SomeVariableOnControllerScope">
Now this will not work with standard two-way binding "=". I tried various attempts, but whenever you try to change something inside your directive, it tries to write it back to a variable, and if it is not a corresponding variable, you get a standard error of "not assignable".
- , . , , , , float . , "" , . , = .
, , , , , . , HTML ( SEO), - . 2 .
, @ = , , .
?