Fixed What is the difference between '@' and '=' in directive scope #dev #it #asnwer
Fixed What is the difference between '@' and '=' in directive scope #dev #itĀ #asnwer
What is the difference between ā@ā and ā=ā in directive scope
Iāve read the AngularJS documentation on the topic carefully, and then fiddled around with a directive. Hereās the fiddle.
And here are some relevant snippets:
from the html:
<pane bi-title="title" title="{{title}}">{{text}}</pane>
from the pane directive:
scope: { biTitle: '=', title: '@', bar: '=' },
There are several things Iā¦
View On WordPress












