Created
January 16, 2013 22:25
-
-
Save umurkontaci/4551534 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.father = { | |
name: "John", | |
children: [] | |
}; | |
var child = { | |
name: "Mary", | |
father: $scope.father | |
}; | |
$scope.father.children.push(child); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment