mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
fix widget example code
This commit is contained in:
@@ -32,7 +32,7 @@ angular.widget('my:watch', function(compileElement) {
|
||||
var currentScope = this;
|
||||
currentScope.$watch(exp, function(value){
|
||||
alert(value);
|
||||
}};
|
||||
});
|
||||
};
|
||||
});
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user