angular.js/src/ng/directive
Misko Hevery c3a41ff9fe feat($compile): simplify isolate scope bindings
Changed the isolate scope binding options to:
  - @attr - attribute binding (including interpolation)
  - =model - by-directional model binding
  - &expr - expression execution binding

This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.

BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.

To migrate the code follow the example below:

Before:

scope: {
  myAttr: 'attribute',
  myBind: 'bind',
  myExpression: 'expression',
  myEval: 'evaluate',
  myAccessor: 'accessor'
}

After:

scope: {
  myAttr: '@',
  myBind: '@',
  myExpression: '&',
  // myEval - usually not useful, but in cases where the expression is assignable, you can use '='
  myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}

The removed `inject` wasn't generaly useful for directives so there should be no code using it.
2012-06-08 15:50:13 -07:00
..
a.js fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
booleanAttrs.js refactor($compile): always call attr.$observe 2012-06-08 15:27:03 -07:00
directives.js chore(*): remove dead code and fix code style issues 2012-04-10 16:52:12 -07:00
form.js chore(*): remove dead code and fix code style issues 2012-04-10 16:52:12 -07:00
input.js feat($compile): simplify isolate scope bindings 2012-06-08 15:50:13 -07:00
ngBind.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngClass.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngCloak.js fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
ngController.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngCsp.js docs(ngCsp): make the CSP docs publicly visible 2012-04-30 15:37:12 -07:00
ngEventDirs.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngInclude.js chore(docs): re-skin main documentation 2012-05-04 16:12:17 -07:00
ngInit.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngNonBindable.js fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
ngPluralize.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngRepeat.js fix(ngRepeat): expose $first, $middle and $last instead of $position 2012-05-22 14:18:15 -07:00
ngShowHide.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngStyle.js doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
ngSwitch.js fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
ngTransclude.js fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
ngView.js feat($route): rename template -> tempalteUrl and add support for inline templates 2012-06-01 17:01:10 -07:00
script.js fix(script): Incorrectly reading script text on ie 2012-04-20 11:29:34 -07:00
select.js chore(docs): re-skin main documentation 2012-05-04 16:12:17 -07:00
style.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00