1var boss_dashboard_module = angular.module('bossApp'); 2/*** 3* Directive to 4**/ 5boss_dashboard_module.directive('directive', function($compile, $interpolate) { 6 return { 7 template: '', 8 link: function($scope, element, attributes) { 9 element.replaceWith($compile('<' + attributes.directive + '></'+attributes.directive+'>')($scope)); 10 } 11 }; 12}); 13/** 14* This directive will create Welcome Box Component. 15*/ 16boss_dashboard_module.directive("welcomeBox", function () { 17 return { 18 restrict: "EA", 19 templateUrl: "app/dashboardWidget/welcome_box/welcome_box.html", 20 }; 21 }); 22/** 23* This directive will create Markey Commentary Component. 24*/ 25boss_dashboard_module.directive("marketCommentary", function () { 26 return { 27 restrict: "EA", 28 templateUrl: "app/dashboardWidget/market_commentary/market_commentary.html", 29 controller : "marketCommentaryCtrl" 30 }; 31 }); 32/** 33* This directive will create Cash Flow Curve Component. 34*/ 35boss_dashboard_module.directive("cashFlowCurve", function () { 36 return { 37 restrict: "EA", 38 templateUrl: "app/dashboardWidget/casf_flow_curve/casf_flow_curve.html", 39 controller : "cashFlowCurveCtrl" 40 }; 41 }); 42/** 43* This directive will create Account Balance Chart Component. 44*/ 45boss_dashboard_module.directive("accountBalanceChart", function () { 46 return { 47 restrict: "EA", 48 templateUrl: "app/dashboardWidget/account_balance_chart/account_balance_chart.html", 49 controller : "accountBalanceChartCtrl" 50 }; 51 }); 52 53 /** 54* This directive will create Saving Rate Component. 55*/ 56boss_dashboard_module.directive("savingRate", function () { 57 return { 58 restrict: "EA", 59 templateUrl: "app/dashboardWidget/saving_rate/saving_rate.html", 60 controller : "savingRateCtrl" 61 }; 62 }); 63 /** 64* This directive will create Saving Rate Component. 65*/ 66boss_dashboard_module.directive("newOffer", function () { 67 return { 68 restrict: "EA", 69 templateUrl: "app/dashboardWidget/new_offer/new_offer.html", 70 controller : "newOfferCtrl" 71 }; 72 }); 73 /** 74* This directive will create Saving Rate Component. 75*/ 76boss_dashboard_module.directive("unauthorizedPayments", function () { 77 return { 78 restrict: "EA", 79 templateUrl: "app/dashboardWidget/unauthorized_payments/unauthorized_payments.html", 80 controller : "unauthorizedPaymentsCtrl" 81 }; 82 }); 83 /** 84* This directive will create Saving Rate Component. 85*/ 86boss_dashboard_module.directive("completedPayments", function () { 87 return { 88 restrict: "EA", 89 templateUrl: "app/dashboardWidget/completed_payments/completed_payments.html", 90 controller : "completedPaymentsCtrl" 91 }; 92 }); 93/** 94* This directive will create Saving Rate Component. 95*/ 96boss_dashboard_module.directive("paymentUpdated", function () { 97 return { 98 restrict: "EA", 99 templateUrl: "app/dashboardWidget/payment_updated/payment_updated.html", 100 controller : "paymentUpdatedCtrl" 101 }; 102 }); 103 /** 104* This directive will create Saving Rate Component. 105*/ 106boss_dashboard_module.directive("scheduledPayments", function () { 107 return { 108 restrict: "EA", 109 templateUrl: "app/dashboardWidget/scheduled_payments/scheduled_payments.html", 110 controller : "scheduledPaymentsComponentCtrl" 111 }; 112 }); 113
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.