{
  class UsersService {
    create(user) {
      console.log('CREATED!');
      console.log(user);
    }
  }

  angular
    .module('meganote.users')
    .service('UsersService', UsersService);
}

@@ -1,10 +1,149 @@
 %7B%0A
+  angular%0A    .module('meganote.users')%0A    .service('UsersService', %5B%0A      '$http',%0A      'API_BASE',%0A      ($http, API_BASE) =%3E%7B%0A%0A      
   class 
@@ -157,16 +157,22 @@
 rvice %7B%0A
+      
     crea
@@ -192,150 +192,198 @@
     
-console.log('CREATED!');%0A      console.log(user);%0A    %7D%0A
+      return $http.get(API_BASE)%0A              .then(res =%3E %7B%0A                console.log(res.data);%0A              %7D);%0A        
   %7D%0A
-%0A
   
-angular%0A    .module('meganote.users')%0A    .service('UsersService', UsersService
+      %7D%0A%0A        return new UsersService();%0A      %7D%0A    %5D
 );%0A%7D

Refactor sign-up directive to use UsersService