angular.js/docs/content/guide
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
..
bootstrap.ngdoc merge cleanup 2012-06-02 16:02:09 -07:00
compiler.ngdoc doc(guide): corrected examples 2012-06-02 16:02:09 -07:00
dev_guide.e2e-testing.ngdoc docs(guide/e2e): fix a link to e2e dsl 2012-04-20 10:49:44 -07:00
dev_guide.mvc.ngdoc docs(dependency injecton): rewrite 2012-06-02 16:02:05 -07:00
dev_guide.mvc.understanding_controller.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.mvc.understanding_model.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.mvc.understanding_view.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.services.$location.ngdoc chore(docs): re-skin main documentation 2012-05-04 16:12:17 -07:00
dev_guide.services.creating_services.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.services.injecting_controllers.ngdoc chore(docs): re-skin main documentation 2012-05-04 16:12:17 -07:00
dev_guide.services.managing_dependencies.ngdoc chore($route): rename events 2012-06-01 16:57:49 -07:00
dev_guide.services.ngdoc docs(dependency injecton): rewrite 2012-06-02 16:02:05 -07:00
dev_guide.services.testing_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.understanding_services.ngdoc docs(dependency injecton): rewrite 2012-06-02 16:02:05 -07:00
dev_guide.templates.css-styling.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.templates.databinding.ngdoc docs(scope): rewrite 2012-06-02 16:02:07 -07:00
dev_guide.templates.filters.creating_filters.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.templates.filters.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.templates.filters.using_filters.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.templates.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
dev_guide.unit-testing.ngdoc docs(dependency injecton): rewrite 2012-06-02 16:02:05 -07:00
di.ngdoc docs(dependency injecton): rewrite 2012-06-02 16:02:05 -07:00
directive.ngdoc feat($compile): simplify isolate scope bindings 2012-06-08 15:50:13 -07:00
expression.ngdoc docs(expression): rewrite 2012-06-02 16:02:08 -07:00
forms.ngdoc doc(NgModelController) add example and $render documentation 2012-06-02 16:02:09 -07:00
i18n.ngdoc doc(i18n): rename 2012-06-02 16:02:08 -07:00
ie.ngdoc doc(fixes): to better support ng-directive notation 2012-03-11 21:31:35 -07:00
index.ngdoc doc(guide): clean up broken links 2012-06-02 16:02:08 -07:00
introduction.ngdoc docs(introduction): rename 2012-06-02 16:02:08 -07:00
module.ngdoc docs(guide): correct couple of typos 2012-06-04 18:46:09 -07:00
overview.ngdoc doc(guide): corrected examples 2012-06-02 16:02:09 -07:00
scope.ngdoc doc(guide): corrected examples 2012-06-02 16:02:09 -07:00
type.ngdoc chore(docs): re-skin main documentation 2012-05-04 16:12:17 -07:00