angular.module('bolt.services', [])

.factory('Links', function ($http) {
  // Your code here

  var getAll = function () {
    return $http({
      method: 'GET',
      url: '/api/links'
    })
    .then(function (resp) {
      return resp.data;
    });
  };

  var addOne = function (link) {
    return $http({
      method: 'POST',
      url: '/api/links',
      data: link
    });
  };

  return {
    getAll: getAll,
    addOne: addOne
  };
  })
.factory('Auth', function ($http, $location, $window) {
  // Don't touch this Auth service!!!
  // it is responsible for authenticating our user
  // by exchanging the user's username and password
  // for a JWT from the server
  // that JWT is then stored in localStorage as 'com.bolt'
  // after you signin/signup open devtools, click resources,
  // then localStorage and you'll see your token from the server
  var signin = function (user) {
    return $http({
      method: 'POST',
      url: '/api/users/signin',
      data: user
    })
    .then(function (resp) {
      return resp.data.token;
    });
  };

  var signup = function (user) {
    return $http({
      method: 'POST',
      url: '/api/users/signup',
      data: user
    })
    .then(function (resp) {
      return resp.data.token;
    });
  };

  var isAuth = function () {
    return !!$window.localStorage.getItem('com.bolt');
  };

  var signout = function () {
    $window.localStorage.removeItem('com.bolt');
    $location.path('/signin');
  };


  return {
    signin: signin,
    signup: signup,
    isAuth: isAuth,
    signout: signout
  };
});

@@ -44,13 +44,11 @@
 ry('
-Links
+Geo
 ', f
@@ -56,21 +56,16 @@
 nction (
-$http
 ) %7B%0A  //
@@ -69,12 +69,14 @@
  // 
-Your
+Kyle's
  cod
@@ -86,365 +86,204 @@
 ere%0A
-%0A
   
-var getAll = function () %7B%0A    return $http(%7B%0A      method: 'GET',%0A      url: '/api/links'%0A    %7D)%0A    .then(function (resp) %7B%0A      return resp.data;
+// Kyle's code here%0A  // Kyle's code here%0A  // Kyle's code here%0A
 %0A  
+%0A
   %7D)
-;%0A  %7D;%0A%0A  var addOne = function (link) %7B%0A    return $http(%7B%0A      method: 'POST',%0A      url: '/api/links',%0A      data: link%0A    %7D);%0A  %7D;%0A%0A  return %7B%0A    getAll: getAll,%0A    addOne: addOne%0A  %7D;%0A  
+%0A.factory('Run', function()%7B%0A  // Kyle's code here%0A  // Kyle's code here%0A  // Kyle's code here%0A  // Kyle's code here%0A%0A
 %7D)%0A
+%0A
 .fac

Create Geo and Run factory