Skip to content

Instantly share code, notes, and snippets.

@anjum121
Created November 3, 2016 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjum121/803e530e693c5e0b710968e91ceaa72c to your computer and use it in GitHub Desktop.
Save anjum121/803e530e693c5e0b710968e91ceaa72c to your computer and use it in GitHub Desktop.
/**
* 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