Day view don't display data

I have problem with displaying data.
Routing is working, but on screen i get {{ | date }}. It’s looking like datas are not loaded.
Please, let me know what i doing wrong :smile:


<h2 class="date">{{ | date }}</h2>
<div class="event" ng-repeat="event in">
  <a href="#/{{$index}}">
    <h3 class="name">{{}}  </h3>
    <p><span class="from"> {{event.from | date}} </span> - <span class="to"> {{ | date}} </span></p>


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


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

Thanks in advance.

What does your view (index.html) look like?

<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>


Well you got your things mixed around at the end of the factory/service ]}); should be }]);

1 Like

Yeah, this is it. Thanks a lot!