mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-27 15:04:02 +00:00
fix widget example code
This commit is contained in:
parent
cc5dfaf0ab
commit
b85e95709d
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ angular.widget('my:watch', function(compileElement) {
|
||||||
var currentScope = this;
|
var currentScope = this;
|
||||||
currentScope.$watch(exp, function(value){
|
currentScope.$watch(exp, function(value){
|
||||||
alert(value);
|
alert(value);
|
||||||
}};
|
});
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue