Angular Directive Scope: Explained
Different Scope Types
scope: undefined
Directive with no scope is given the scope of it's parent
scope: true
scope: {}
(isolate scope)
Isolate Scope
scope: '@'
Outer Controller
Inner Directive
scope: '='
Outer Controller
Inner Directive
scope: '&'
Outer Controller
Inner Directive
Different Methods of Communication
template(el, attrs)
attrParse
attrs observe