¡@

Home 

javascript Programming Glossary: scope.datas

Reset a model with angular.js

http://stackoverflow.com/questions/13085024/reset-a-model-with-angular-js

reset values like this scope.initial data1 10 data2 20 scope.datas scope.initial scope.reset function scope.datas scope.initial.. data2 20 scope.datas scope.initial scope.reset function scope.datas scope.initial But it doesn't produce anything any idea to fix.. it is assigned by reference not by copy. So this statement scope.datas scope.initial results in scope.datas pointing to the scope.initial..