angular.js/src/ng
Igor Minar 63c5334c84 fix($compile): abort compilation when duplicate element transclusion
Issue an error and abort compilation when two directives that ask for transclusion are found
on a single element. This configuration is not supported and we previously failed to issue
the error because in the case of element transclusion the compilation is re-started and this
caused the compilation context to be lost.

The ngRepeat directive has been special-cased to bypass this warning because it knows how to
handle this scenario internally.

This is not an ideal solution to the problem of multiple transclusions per element, we are
hoping to have this configuration supported by the compiler in the future. See #4357.

Closes #3893
Closes #4217
Closes #3307
2013-10-11 17:12:24 -07:00
..
directive fix(directives): correct priority of structural directives 2013-10-11 17:12:24 -07:00
filter docs(filter): add missing semi-colon 2013-10-05 21:44:14 +01:00
anchorScroll.js docs($anchorScroll): fix example controller and style 2013-10-09 21:14:57 +01:00
animate.js docs(ngAnimate): fix typos 2013-10-11 13:34:00 +01:00
browser.js fix($location): prevent infinite digest error in IE7 2013-10-02 15:33:31 -07:00
cacheFactory.js docs(*): fixed typos and ngdoc parameter names 2013-07-27 20:53:41 +02:00
compile.js fix($compile): abort compilation when duplicate element transclusion 2013-10-11 17:12:24 -07:00
controller.js fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
document.js docs(*): simplify doc urls 2012-06-12 00:10:18 -07:00
exceptionHandler.js docs($exceptionHandler): add an example of overriding the handler 2013-09-19 14:51:38 +01:00
filter.js feat(filter): allow map of filters to be registered 2013-10-01 10:26:36 +01:00
http.js refactor(location): $location now uses urlUtils, not RegEx 2013-10-10 11:41:07 -07:00
httpBackend.js refactor(location): $location now uses urlUtils, not RegEx 2013-10-10 11:41:07 -07:00
interpolate.js docs($interpolate): fix example for provider w/ custom symbols 2013-08-15 08:27:41 -07:00
interval.js feat($interval): add a service wrapping setInterval 2013-10-07 13:45:40 -07:00
locale.js docs(*): simplify doc urls 2012-06-12 00:10:18 -07:00
location.js refactor(location): $location now uses urlUtils, not RegEx 2013-10-10 11:41:07 -07:00
log.js docs($log): explain how to configure debug logging 2013-10-09 21:10:38 +01:00
parse.js revert: fix($parse): handle promises returned from parsed function calls 2013-10-09 15:15:43 -07:00
q.js docs($q): clarify what happens when rejected 2013-09-10 22:06:04 +01:00
rootElement.js docs(*): simplify doc urls 2012-06-12 00:10:18 -07:00
rootScope.js fix(rootScope): make stopPropagation only stop its own event 2013-10-05 22:45:43 +01:00
sce.js refactor(location): $location now uses urlUtils, not RegEx 2013-10-10 11:41:07 -07:00
sniffer.js fix($sniffer): history problems on Boxee box 2013-08-23 11:57:55 -07:00
timeout.js docs($timeout): add a $timeout example 2013-09-28 15:24:35 +01:00
urlUtils.js refactor(location): $location now uses urlUtils, not RegEx 2013-10-10 11:41:07 -07:00
window.js docs($window): improve style and clarify wording 2013-07-21 20:24:33 +02:00