aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngInclude.js
diff options
context:
space:
mode:
authorShyam Seshadri2012-07-06 15:23:40 +0530
committerMisko Hevery2012-09-11 16:39:46 -0700
commit2c6aa4c300073ef27fcce4c112646985d81a4fe4 (patch)
tree7f481ff84b5b46ea8c3e0058ba710a61ac22effe /src/ng/directive/ngInclude.js
parentf7a8f17fc72f603de11ca89170bc8d1cad4dae6a (diff)
downloadangular.js-2c6aa4c300073ef27fcce4c112646985d81a4fe4.tar.bz2
fix(*): name all anonymous watch functions in Angular
This will allow us to see function names in Batarang and debugger. Closes #1119
Diffstat (limited to 'src/ng/directive/ngInclude.js')
-rw-r--r--src/ng/directive/ngInclude.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js
index 26107206..d4eacbe3 100644
--- a/src/ng/directive/ngInclude.js
+++ b/src/ng/directive/ngInclude.js
@@ -101,7 +101,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile'
element.html('');
};
- scope.$watch(srcExp, function(src) {
+ scope.$watch(srcExp, function ngIncludeWatchAction(src) {
var thisChangeId = ++changeCounter;
if (src) {