angular.module("realEstProperties", ["ngRoute","realEstProperties.controllers", "realEstProperties.services"])
.config(function($routeProvider) {
  $routeProvider
    .when("/", {
      templateUrl : "views/home.html",
      controller  : "mainCtrl"
    });
});
angular.module("realEstProperties", ["ngRoute","realEstProperties.controllers", "realEstProperties.services"])
.config(function($routeProvider) {
  $routeProvider
    .when("/", {
      templateUrl : "views/home.html",
      controller  : "mainCtrl"
    })
    .otherwise({
      redirectTo: "/"
    });
});
Add redirect to root route if unavailable route is entered
Add redirect to root route if unavailable route is entered
