Added timer middleware and changed src= to ng-src=.