AngularJS : Differences among = & @ in directive scope? [duplicate]
This can be confusing but hopefully a simple example will clarify it. First, let’s separate model bindings from behaviors. Here is a fiddle that should help tie things together: http://jsfiddle.net/jeremylikness/3pvte/ And explained … if your directive looks like this: <my-directive target=”foo”/> Then you have these possibilities for scope: { target : ‘=’ } This will … Read more