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: '@'


scope: '='


scope: '&'


Different Methods of Communication


template(el, attrs)


attrParse


attrs observe