1
How could I pass a JSON object between views:
    angular.module('app')
    .controller('MeuControle', function($scope) {
      $scope.listaPessoas = [
        {
          nome: "Patrick",
          idade: 19
        },
        {
          nome: "Joao",
          idade: 17
        },
        {
          nome: "Maria",
          idade: 20
        }
      ];
      $scope.clicada = function(pessoa) {
        $scope.pessoaSelecionada = pessoa;
        $location.path("app/pessoaDetalhe");
      };
    })
listing people:
    <ion-view hide-back-button="true" view-title="Listando Pessoas">
      <ion-content class="padding">
        <h1>Inicio</h1>
          <button ng-repeat="pessoa in listaPessoas" ng-click="clicada(pessoa)">
            {{pessoa.nome}}
          </button>
      </ion-content>
    </ion-view>
However the $Cope.person variableSelected arrives in the other empty view (app/person), both use the same controller:
    <ion-view hide-back-button="true" view-title="Detalhes">
      <ion-content class="padding">
        <h1>Nome {{pessoaSelecionada.nome}} idade {{pessoaSelecionada.idade}} </h1>
      </ion-content>
    </ion-view>
If I leave it fixed $Scope.personSelected = {name: "so-and-so", age: 20} the values pass, dynamically no.
Depending on your application you can try this:
$rootScope.pessoaSelecionada = pessoa;– DiegoAugusto
try to initialize the variable
$scope.pessoaSelecionadawith null and tell me if it worked– Felipe Assunção