finance-card.js

angular.module('homepage').
directive('financeCard', function () {
    return {
		controller: 'FinanceCardController',
		restrict: 'E',
		replace: true,
		scope: {
			financeData: '='
		},
		transclude: true,
		templateUrl: 'components/feature-components/finance/finance-card.html'
	}
}).
controller('FinanceCardController', function ($scope) {
	$scope.financeData.currency = '8377;';
});