Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc586f commit 6b7b40aCopy full SHA for 6b7b40a
src/ng/directive/ngBind.js
@@ -52,9 +52,10 @@
52
</example>
53
*/
54
var ngBindDirective = ngDirective({
55
- compile: function(templateElement) {
+ compile: function ngBindCompile(templateElement) {
56
templateElement.addClass('ng-binding');
57
- return function (scope, element, attr) {
+
58
+ return function ngBindLink(scope, element, attr) {
59
element.data('$binding', attr.ngBind);
60
scope.$watch(attr.ngBind, function ngBindWatchAction(value) {
61
// We are purposefully using == here rather than === because we want to
0 commit comments