Created
November 3, 2016 10:57
-
-
Save anjum121/803e530e693c5e0b710968e91ceaa72c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by Anjum on 3/11/16. | |
*/ | |
/// <reference path="../../utils/session/session.utils.ts" /> | |
/// <reference path="../../services/skychaincontext.ts" /> | |
/// <reference path="../../services/common/footer.card.service.ts" /> | |
/// <reference path="../../_libraries.ts" /> | |
/// <reference path="../../services/modals/app.modals.ts" /> | |
module app.widgets.directives { | |
'use strict'; | |
export interface IJobsCardController { | |
} | |
class JobsCardController implements IJobsCardController { | |
static $inject = [ | |
'$log', | |
'$scope', | |
'app.utils.SessionUtils', | |
'app.utils.ClientUtils', | |
'app.services.AppModals']; | |
constructor(private $log: ng.ILogService, | |
private $scope: ng.IScope, | |
private sessionUtil: app.utils.ISessionUtilService, | |
private clientUtils: app.utils.IClientUtilsService, | |
private myModals: app.services.IAppModals) { | |
} | |
} | |
angular | |
.module('app.widgets') | |
.directive('jobsCard', jobsCard); | |
function jobsCard(): ng.IDirective { | |
return { | |
restrict: 'AE', | |
controller: JobsCardController, | |
controllerAs: 'vm', | |
templateUrl: 'widgets/jobs/jobs.card.html', | |
scope: { | |
data: '=cardData' | |
} | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment