All,
My understand of angularjs when it comes to directives is that when you have an isolate scope setup like so:
scope: {
dataSource: '='
}
that inside the link function: function(scope, ele, attr)
the scope would have a dataSource property which is bound to name on my controller if used like this:
<my-element data-source='name'></my-element>
However this isn't the case, here is an example:
http://jsfiddle.net/HB7LU/21879/
Thanks
Steve