mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-18 03:21:08 +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>
|
<script>
|
||||||
function Controller($scope) {
|
function Controller($scope) {
|
||||||
$scope.master= {};
|
$scope.master = {};
|
||||||
|
|
||||||
$scope.update = function(user) {
|
$scope.update = function(user) {
|
||||||
$scope.master= angular.copy(user);
|
$scope.master = angular.copy(user);
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.reset = function() {
|
$scope.reset = function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue