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














