support creating and getting notes via a $resource instead of raw $http