home.js

angular.module('homepage').
directive('home', function () {
    return {
        restrict: 'E',
        replace: true,
        transclude: true,
        templateUrl: 'components/content-components/home/home.html'
    }
});
/*.
controller('HomeController', function($scope, $rootScope, Authentication) {
    $scope.getUser = function() {
        $rootScope.userDtls = Authentication.getUser();
        $rootScope.isAuthenticated = Authentication.isAuthenticated();
    }
});*/