client-ui
Version:
Testing implementation of nodeJs Backend, angular frontend, and hopefully in a way that this can be deployed to s3/cloudfront
160 lines (150 loc) • 12.6 kB
JavaScript
(function () {
'use strict';
angular.module(moduleName).controller('faqController', faqController);
faqController.$inject = ['$sce'];
function faqController($sce) {
var self = this;
var ourPersonalLoans = {
id: "ourPersonalLoans",
name: "Our Personal Loans",
items: [{
title: "What is a Personal Loan?",
body: "Personal Loans are unsecured loans used for general purposes (primarily for personal, \
family, or household purposes). You can use one of our personal loans for everything from \
consolidating your high interest debt to updating your kitchen to complement your unique style."
},{
title: "How do I qualify for a personal loan?",
body: "To qualify, you must be at least 18 years old <i>(in Nebraska and Alabama a borrower must be at \
least 19 years of age) and be a U.S. resident. You must also reside in a state where we do business.</i> \
Besides age and location, qualification for a personal loan is largely based on your credit score, monthly \
income, and amount of existing debt, among other items."
},{
title: "How is my rate determined?",
body: "Your personal loan rate is determined by your financial profile. Your financial profile is a made up of your \
credit history, yearly income, debt amount, loan term, home ownership, and number of credit inquiries, among other items."
}]
};
var about = {
id: "about",
name: "About",
items: [{
title: "How does RocketLoans' application process work?",
body: "We want your experience with us to be as fast and effortless as it can possibly be, and our process reflects that:<br/>\
1. Enter some basic information about yourself.<br/>\
2. Explore your loan options, select the best program for your situation.<br/>\
3. Complete your application.<br/>\
4. We’ll perform any required validation of the information provided.<br/>\
5. Accept the final terms after validation and receive your money.<br/>\
Want to have an in-depth look at our process? <a href=\"app.html#/our-process\">Take a look!</a>"
},
{
title: "What can I use my personal loan for?",
body: "We offer a variety of personal loans that you can customize to your liking. You can use one of our loans to consolidate your debt, \
escape to a dream vacation in Costa Rica, purchase an engagement ring for your special someone, or get money for that sweet new project you've been \
brainstorming for years. Check out our <a href=\"types-of-loans.html\">Personal Loan Uses</a> page to find out how you \
can customize your loan to fit your unique lifestyle."
},
{
title: "How much can I borrow? And for how long?",
body: "Our loan programs extend from $2,000 to $35,000 and are repaid in either 36 or 60 months.\
Your individual situation will dictate the offers presented to you.\
Please note that we take into account your credit profile, your income, your \"Debt to Income\" ratio,\
and present offers which we believe you have the ability to comfortably repay.\
None of our programs have prepayment penalties, so you can pay off the remaining balance at any time without additional fees."
},
{
title: "How long does it take to receive my money?",
body: "Depending on your bank, and our ability to validate information electronically, you may be able to receive money within 24 business hours."
},
{
title: "Can I re-apply for a loan if my application is denied?",
body: "Of course! If your loan was denied because of circumstances that have changed (for example, you raised your credit score or your debt to income \
ratio changed for the better), there is a possibility your loan will be approved if you re-apply."
},
{
title: "Will viewing my rate affect my credit?",
body: "Viewing your rate with us will not impact your credit score. This is because your rate is generated using a soft inquiry instead of a hard inquiry.\
Employers, rental companies, and lenders may use soft inquiries as a way to verify your identity and assess any potential financial risks — and that’s all a soft inquiry does.\
So, you don’t have to worry about affecting your score if you're just \"window shopping.\""
},
{
title: "Can I get a loan from you if I live outside of the United States?",
body: "We do not offer personal loans to Non-U.S. residents."
}]
};
var paymentsAndFees = {
id: "paymentsAndFees",
name: "Payments & Fees",
items: [{
title: "How do I make my monthly payment?",
body: "Life can be busy and demanding, and we want to help simplify your \"To Do\" list. This is why we’ve created a system that withdraws your monthly payments electronically, \
making them convenient for you. Your payments may be automatically withdrawn with ACH, an electronic and secure network that connects all U.S. financial \
institutions to transfer money. If you prefer to do things the old fashioned way instead, we are more than happy to accept monthly checks via snail mail. \
Our entire process is designed to create a convenient process that maximizes efficiency. If you do prefer to pay by check, we do charge an additional processing fee.\
If you would like to send a check, get in touch with one of our Personal Loans Experts(<a href=\"mailto:" + globalConfig.company.email.support + "?Subject=Talk%20to%20Us\" target=\"_top\">" + globalConfig.company.email.support + "</a>) to set things up."
}, {
title: "What happens if I’m late on making my payment?",
body: "The easiest way to avoid a late penalty is to enroll in automatic payments and maintain a minimum balance higher than your monthly payment, \
but if you have insufficient funds in your bank account or are late because you pay via snail mail, we will charge a late fee of $15 per payment cycle."
}, {
title: "What happens if I default on a loan?",
body: "Please get ahold of us at <a href=\"tel://"+ globalConfig.company.phone.dash + "\">" + globalConfig.company.phone.long + "</a> if you default on your loan, or even if think you might be headed that way. We’re not just here to lend you money; \
we want to make sure you’re headed toward financial stability, too! Ultimately, for accounts that do default, your credit profile will be impacted, which can affect your ability to obtain future credit. \
Please review the Promissory Note for more information related to your loan."
}, {
title: "Is there an origination fee for this loan?",
body: "In order to make your loan and to do it as fast and effortless for you as possible, an origination fee of 1%- 6% is charged for each loan. The origination fee is \
paid to Cross River Bank, and it is deducted from your balance before your money is distributed to you. We don’t want to leave you with any surprises, so be sure to take this cost into consideration \
when you decide how much you’re going to need for that dream vacation (not to mention, all of that sunblock…)."
}, {
title: "Are there any hidden fees?",
body: "We work hard to disclose all fees clearly and conspicuously up front. We want to make sure you know the ins and outs of your entire loan process, so we’ve worked tirelessly to make sure our fees are transparent and leave you \
without any questions. You will only be charged an origination fee when you take out the loan. If you do elect to pay by check, \
we also charge a processing fee for each payment. To view a detailed list of our fee schedule <a href=\"app.html#/fees\">click here</a>."
},{
title: "What is the cost of obtaining a personal loan?",
body: "The lender will charge an origination fee of 1-6% for personal loans closed through our site. Your origination fee \
is based on your personal financial profile, and the fee is deducted before the money is deposited into your account."
},{
title: "Am I charged a fee if I make an extra payment on my loan or pay it off early?",
body: "No. You can make early or additional payments on your loan (or pay your loan off in full) without worrying about \
being charged additional fees."
}]
};
var account = {
id: "account",
name: "Account",
items: [{
title: "How do I create an account?",
body: "You can do that <a href=\"app.html#/account-creation\">here</a>."
}, {
title: "I lost my password. What should I do?",
body: "Gone are the 90’s when it was safe to use your cat’s name (aka Doctor Mew) as your password, and gone are the days when passwords were easy to remember.<br/>\
<br> But not to worry! That’s what reset password links <a href=\"app.html#/login\">like this</a> exist for."
}, {
title: "How do I update my account information?",
body: "To edit your personal info: <br/>\
        1. <a href=\"app.html#/login\">Sign in to your account</a>. <br/>\
        2. Click My Dashboard (on the top of the page).<br/>\
        3. Click \"My Profile\" button (on the right) (on the top of the page).<br/>\
        4. Click the appropriate \"Edit information\" button on the right.<br/>\
        5. Click \"Save\".<br/>\
And that's it!"
}]
};
var contact = {
id: "contact",
name: "Contact",
items: [{
title: "Who can answer the questions not addressed here?",
body: "We strive to make your loan process as fast and effortless for you as possible offer many ways to ensure any question you have is answered right away.\
The easiest way to get in touch is to get ahold of one of our Personal Loan Experts. You can chat, email us at <a href=\"mailto:" + globalConfig.company.email.support + "?Subject=Talk%20to%20Us\" target=\"_top\">" + globalConfig.company.email.support + "</a>, \
or call us during normal business hours at <a href=\"tel://"+ globalConfig.company.phone.dash + "\">" + globalConfig.company.phone.long + "</a>."
}]
};
self.faqs = [ourPersonalLoans, about, paymentsAndFees, account, contact];
self.trustHtml = function(htmlString) {
return $sce.trustAsHtml(htmlString);
};
}
}());