data: {myObj: $scope.myModelObj},

data: {myObj: $scope.myModelObj},