angular.module('noteWrangler')
  .controller("NotesEditController", ['$scope', 'Note', function ($scope, Note) {
    $scope.updateNote = function (noteObj) {
      Note.create(noteObj);
    };
  }]);