mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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;
|
||||
currentScope.$watch(exp, function(value){
|
||||
alert(value);
|
||||
}};
|
||||
});
|
||||
};
|
||||
});
|
||||
</pre>
|
||||
|
|
|
|||
Loading…
Reference in a new issue