(function () {
    'use strict';
    angular.module('core').controller('MainCtrl', function ($scope, $timeout, QueueService) {

        console.log('INSIDE MAINCTRL');
        var INTERVAL = 10000,
            slides = [
                {id: "image00", src: "/assets/modules/core/img/image00.jpg", title: 'Our love', subtitle: 'will prove everyone wrong!'},
                {id: "image01", src: "/assets/modules/core/img/image01.jpg", title: 'Can you feel', subtitle: 'the love tonight!'},
                {id: "image02", src: "/assets/modules/core/img/image02.jpg", title: 'You are the wind', subtitle: 'beneath my wings'},
                {id: "image03", src: "/assets/modules/core/img/image03.jpg", title: 'Anything for you', subtitle: 'even accepting your family'},
                {id: "image04", src: "/assets/modules/core/img/image04.jpg", title: 'True love', subtitle: 'a dream within a dream'}
            ];

        function setCurrentSlideIndex(index) {
            $scope.currentIndex = index;
        }

        function isCurrentSlideIndex(index) {
            return $scope.currentIndex === index;
        }

        function nextSlide() {
            $scope.currentIndex = ($scope.currentIndex < $scope.slides.length - 1) ? ++$scope.currentIndex : 0;
            $timeout(nextSlide, INTERVAL);
        }

        function setCurrentAnimation(animation) {
            $scope.currentAnimation = animation;
        }

        function isCurrentAnimation(animation) {
            return $scope.currentAnimation === animation;
        }

        function loadSlides() {
            QueueService.loadManifest(slides);
        }

        $scope.$on('queueProgress', function (event, queueProgress) {
            $scope.$apply(function () {
                $scope.progress = queueProgress.progress * 100;
            });
        });

        $scope.$on('queueComplete', function (event, slides) {
            $scope.$apply(function () {
                $scope.slides = slides;
                $scope.loaded = true;

                $timeout(nextSlide, INTERVAL);
            });
        });

        $scope.progress = 0;
        $scope.loaded = false;
        $scope.currentIndex = 0;
        $scope.currentAnimation = 'slide-left-animation';

        $scope.setCurrentSlideIndex = setCurrentSlideIndex;
        $scope.isCurrentSlideIndex = isCurrentSlideIndex;
        $scope.setCurrentAnimation = setCurrentAnimation;
        $scope.isCurrentAnimation = isCurrentAnimation;

        loadSlides();
    });
})();








@@ -277,23 +277,21 @@
 ore/img/
-image00
+Heart
 .jpg%22, t
@@ -412,23 +412,21 @@
 ore/img/
-image01
+shoot
 .jpg%22, t
@@ -542,23 +542,23 @@
 ore/img/
-image02
+Soloram
 .jpg%22, t
@@ -677,23 +677,28 @@
 ore/img/
-image03
+outdoorlight
 .jpg%22, t
@@ -827,23 +827,22 @@
 ore/img/
-image04
+flower
 .jpg%22, t

Change in images