Problem with refresh List($resource) after a Post in Api

Hi everyone,well mi problem is the following, i’m testin a Api build in rails,the response is in json and the communication works well in the first step,the aplication is very simple,it’s about a list of contacts saved in the Api and i use $resource to acces to the Api and get the list. when i get the lsit i can display well in the App,and then when i want to create a new contact i push a button and a modal form is displayed ,everything works well at this point,my issue come here,after i realize the post and hide the modal and call again the $resource for the get,the list don’t show the new contact. i thinking that the get dont realize the second time,because when i see the console of the api the call of the get doesn’t appears,but yes the post,so if i refresh the page manually the new contact appears.
well i hope someone can help me,i try to refresh the page from the controller but it doesn’t work.
here is my code and thanks everyone for the time of read and helps.
controller :

.controller('jsonController', function ($scope, Session, $ionicModal, $state, $rootScope) {

/*$rootScope.$on('contacts:listChanged', function() {
    $scope.updateList();
});

$scope.updateList = function() {
    $scope.lista = Session.query();
};*/

$scope.lista = {};
$scope.lista = Session.query();
$scope.FormContact = {};

$scope.agregar = function(){
  Session.save($scope.FormContact);
  $scope.CerrarModal();
  $scope.lista = Session.query();
  $state.go('jsonV');
};

$ionicModal.fromTemplateUrl('modalFORM.html', function($ionicModal) {
    $scope.modalFORM = $ionicModal;
    },{
      // Use our scope for the scope of the modal to keep it simple
      scope: $scope,
      // The animation we want to use for the modal entrance
      animation: 'slide-in-up'
});

//funciones que permiten cerrar y abrir el modal 
$scope.AbrirModal = function() {
    $scope.modalFORM.show();
};

$scope.CerrarModal = function() {
    $scope.modalFORM.hide();
};
);

index.html

<script id="VistaJson.html" type="text/ng-template" ng-model="json">
<ion-view>
  <ion-header-bar class="bar bar-header bar-royal">
    <button class="button button-icon icon ion-home" ng-click="irHome()"></button>
    <div class="h1 title">Contactos</div>
    <button class="button button-icon icon ion-camera" ng-click="irCam()"></button>
  </ion-header-bar>
  <ion-content on-swipe-left="irMap()" on-swipe-right="irCam()">
    <ion-list ng-repeat='persona in lista'>
      <ion-item class="item item-divider" >
        Nombre: {{persona.name}}
      </ion-item>
      <ion-item class="item item-button-right">
        Telefono: {{persona.phone}}
      </ion-item>
    </ion-list>
    <ion-footer-bar class="button button-full button-energized" ng-click="AbrirModal()">Agregar Contacto</ion-footer-bar>
  <ion-content>
<ion-view>
<script id="modalFORM.html" type="text/ng-template">
      <ion-modal-view>
        <ion-header-bar class="bar bar-header bar-royal">
          <h1 class="title">Nuevo Contacto</h1>
          <div class="buttons" ng-click="CerrarModal()">
            <button class="button">cerrar</button>
          </div>
        </ion-header-bar>
        <ion-content>
          <form ng-submit="agregar()">
            <div class="list"  ng-model="FormContact">
              <label class="item item-input item-stacked-label">
                <span class="input-label">Name</span>
                <input type="text" placeholder="Nombre del Contacto" ng-model="FormContact.name">
              </label>
              <label class="item item-input item-stacked-label">
                <span class="input-label">Telefono</span>
                <input type="text" placeholder="ej: +5693462574" ng-model="FormContact.phone">
              </label>
              <button class="button button-block icon ion-person-add button-calm" type="submit"></button>
            </div>
          </form>

        </ion-content>
      </ion-modal-view>
    </script>

any doubt about the code don’t doubt to ask :slight_smile: and sorry if my english is not the better ,regards to everyone!

can you open a codepan with the code :smile: