/**
 * @fileOverview Create and configure the routes.
 */

// load controllers
require('../controllers/place.ctrl');

/**
 * Application configuration, adding routes.
 *
 * @param {Object} $routeProvider The $routeProvider.
 * @param {Object} $locationProvider The $locationProvider.
 */
var routeConfig = module.exports = function ($routeProvider, $locationProvider) {

  // enable html5 routing
  $locationProvider.html5Mode(true);

  var partialsPath = 'ngtpl/';

  $routeProvider
    .when('/', {
      templateUrl: partialsPath + 'places.html',
    })
    .otherwise({
      redirectTo: '/'
    });
};

angular.module('app')
  .config(['$routeProvider', '$locationProvider',
    routeConfig
  ]);

@@ -550,16 +550,172 @@
 %0A    %7D)%0A
+    .when('/signup', %7B%0A      templateUrl: partialsPath + 'signup.html',%0A    %7D)%0A    .when('/login', %7B%0A      templateUrl: partialsPath + 'login.html',%0A    %7D)%0A
     .oth

add signup and login ng routes