mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 23:50:23 +00:00
parent
79dc95cca6
commit
e4415d21d3
1 changed files with 2 additions and 2 deletions
|
|
@ -154,10 +154,10 @@ This allows us to extend the above example with these features:
|
|||
|
||||
<script>
|
||||
function Controller($scope) {
|
||||
$scope.master= {};
|
||||
$scope.master = {};
|
||||
|
||||
$scope.update = function(user) {
|
||||
$scope.master= angular.copy(user);
|
||||
$scope.master = angular.copy(user);
|
||||
};
|
||||
|
||||
$scope.reset = function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue