NearMe 3 Not displaying views/main.html

Hi, i’m stuck on NearMe 3 step 4 where I’ve refactored the app but now the map isn’t showing up as it did before and just displays a line of the templateUrl as a span text:

index.html

<!doctype html>
<html>
  <head>
    <link href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet" />
    <link href="css/leaflet.css" rel="stylesheet" />
    <script src="js/vendor/angular.min.js"></script>
    <script src="https://code.angularjs.org/1.2.28/angular-route.min.js"></script>

  </head>
  <body ng-app="NearMeApp">
    
    <div class="header">
      <div class="container-fluid">
        <h1 class="pull-left">NearMe</h1>
      </div>
    </div>

    <div ng-view></div>

    <!-- Modules -->
    <script src="js/app.js"></script>

    <!-- Controllers -->
    <script src="js/controllers/MainController.js"></script>

    <!-- Directives -->
    <script src="js/vendor/leaflet.js"></script>
    <script src="js/vendor/angular-leaflet-directive.min.js"></script>
    <script src="js/vendor/helpers.js"></script>

    <!-- Services -->
    <script src="js/services/places.js"></script>

  </body>
</html>

main.html

<div class="main">
      <div class="container-fluid" id="map-canvas">
        <leaflet center="mapCenter" markers="mapMarkers"></leaflet>
      </div>
</div>

app.js

var app = angular.module('NearMeApp', ['leaflet-directive', 'ngRoute']);

app.config(function ($routeProvider) {
  $routeProvider
    .when('/', {
      controller: 'MainController',
      template: 'views/main.html'
    })
    .otherwise({
      redirectTo: '/'
    });
});

MainController.js

app.controller('MainController', ['$scope', 'places', function($scope, places) {
  $scope.mapCenter = {
    lat: 40.741934,
    lng: -74.004897,
    zoom: 17
  };

  places.success(function(data) {
    $scope.geodata = data;
    $scope.mapMarkers = geodataToMarkers($scope.geodata);
  });
  
}]);

Capture4

Please give me guidance!! Thanks in advance!!