angular.js/test/ng
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
..
directive feat($compile): simplify isolate scope bindings 2012-06-08 15:50:13 -07:00
filter chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
browserSpecs.js fix($browser/$location): single quote in url causes infinite digest in FF 2012-05-13 21:53:19 -07:00
cacheFactorySpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
compileSpec.js feat($compile): simplify isolate scope bindings 2012-06-08 15:50:13 -07:00
controllerSpec.js chore(controller): allow setting map of controllers 2012-05-04 15:50:37 -07:00
deferSpec.js feat($timeout): add $timeout service that supersedes $defer 2012-05-23 15:00:56 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
httpSpec.js feat($http): expose the defaults config as $http.defaults 2012-04-11 17:29:16 -07:00
interpolateSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js feat($location): add $locatonChange[begin|completed] event 2012-06-02 15:44:58 -07:00
logSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
parseSpec.js fix($parse): support methods on falsy primitive types 2012-05-05 03:30:19 +02:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js fix($rootScope): TTL exception does not clear $$phase 2012-05-23 16:01:20 -07:00
routeParamsSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
routeSpec.js feat($location): add $locatonChange[begin|completed] event 2012-06-02 15:44:58 -07:00
snifferSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
timeoutSpec.js fix($timeout): allow calling $timeout.cancel() with undefined 2012-06-04 17:43:14 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00