totaltimeselector.js

angular.module('homepage').
directive('totaltimeselector', function () {
    return {
        //controller: 'totalTimeSelectorController',
        restrict: 'E',
        replace: true,
        // Variables within this scope will be submitted back to server
        scope: {
            times: '='
        },
        transclude: true,
        templateUrl: 'components/common-components/totaltimeselector/totaltimeselector.html'
    }
});