// js/services/note.js

(function() {
  "use strict";

  angular.module("NoteWrangler")
    .factory("Note", NoteFactory);

  NoteFactory.$inject = ["$http", "$routeParams"];

  function NoteFactory($http, $routeParams) {
    function getAllNotes() {
      return $http({
        method: "GET",
        url: "/api/notes"
      });
    }

    function getNoteById() {
      return $http({
        method: "GET",
        url: "/api/notes/" + $routeParams.id
      })
    }

    function createNote(noteData) {
      return $http({
        method: "POST",
        url: "/api/notes",
        data: noteData
      })
    }

    return {
      getAllNotes,
      createNote,
      getNoteById
    }
  }
})();

// js/services/note.js

(function() {
  "use strict";

  angular.module("NoteWrangler")
    .factory("Note", NoteFactory);

  NoteFactory.$inject = ["$http"];

  function NoteFactory($http) {
    function getAllNotes() {
      return $http({
        method: "GET",
        url: "/api/notes"
      });
    }

    function createNote(noteData) {
      return $http({
        method: "POST",
        url: "/api/notes",
        data: noteData
      })
    }

    return {
      getAllNotes,
      createNote
    }
  }
})();

--- 
+++ 
@@ -6,14 +6,21 @@
   angular.module("NoteWrangler")
     .factory("Note", NoteFactory);
 
-  NoteFactory.$inject = ["$http"];
+  NoteFactory.$inject = ["$http", "$routeParams"];
 
-  function NoteFactory($http) {
+  function NoteFactory($http, $routeParams) {
     function getAllNotes() {
       return $http({
         method: "GET",
         url: "/api/notes"
       });
+    }
+
+    function getNoteById() {
+      return $http({
+        method: "GET",
+        url: "/api/notes/" + $routeParams.id
+      })
     }
 
     function createNote(noteData) {
@@ -26,7 +33,8 @@
 
     return {
       getAllNotes,
-      createNote
+      createNote,
+      getNoteById
     }
   }
 })();
Add getNoteById method. Add  to
