title: Using same controller for all CRUD operations (Rails-alike)
body: <p>I have an angular controller that fetches a resource on creation: </p>
  
  <pre><code>angular.module('adminApp')
    .controller('PropertiesCtrl', function ($log, $scope, Property, $location) {
      $scope.properties = Property.query()  
    });
  </code></pre>
  
  <p>Now I want to add logic to the controller to be able to create a "Property" resource: </p>
  
  <pre><code>angular.module('adminApp')
    .controller('PropertiesCtrl', function ($log, $scope, Property, $location) {
      $scope.properties = Property.query()  
      $scope.create = function(){
        //logic to create
      };
    });
  </code></pre>
  
  <p>However, when I am on the form to create a "Property", an unnecessary call is made to fetch all the properties first. How do I avoid this?</p>
  
  <hr>
  
  <p><strong>Potential solutions?</strong></p>
  
  <ol>
  <li>I could create a separate controller specifically for the creation of the Property that would not fetch the properties. However, it would make it simpler to encapsulate all CRUD operations for a single resource under a single controller.</li>
  <li>I could create a function to fetch all properties. However, my index page uses "properties" directly. I would first need to fetch the data calling some method and then using the data (somehow?) </li>
  </ol>