mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-29 16:58:56 +08:00
committed by
Pete Bacon Darwin
parent
ac70ec0340
commit
8a7240ddfd
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user