Help with displaying Day Data in Calendar


Hi there, I have gone through the forums to check my code but despite this my code isn't displaying any Day Data in the Calendar exercise. If someone is able to provide some assistance it would be appreciated....


var app = angular.module('CalendarApp', ['ngRoute']);

app.config(function ($routeProvider) {
    .when('/', {
      controller: 'DayController',
      templateUrl: 'views/day.html'
      redirectTo: '/'


app.factory('events', ['$http', function($http) {
  return $http.get('')
            .success(function(data) {
              return data;
            .error(function(data) {
              return data;


app.controller('DayController', ['$scope', 'events', function($scope, events) {
  events.success(function(data) {
    $ = data[$];


<!-- Format a date so it displays in the format "Friday 1/16" -->
<h2 class="date">{{ | date:'fullDate'}</h2>

TODO: Loop through events and display each one with this HTML
<div class="event" ng-repeat="event in">
  <a href="#/{{$index}}">
    <h3 class="name">{{}}</h3>
    <p><span class="from">{{day.from}} </span> - <span class="to">{{}} </span></p>


<!doctype html>
    <link href="" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" />
    <script src="js/vendor/angular.min.js"></script>
    <script src=""></script>
  <body ng-app="CalendarApp">
    <div class="header">
      <div class="container">
        <img src= "img/logo.svg" width="51" height="54">

    <div class="main">
      <div class="container">
				<div ng-view></div>


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

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

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



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.