A
A
Alexander2019-12-18 21:47:32
JavaScript
Alexander, 2019-12-18 21:47:32

I can't change the name, how can I do it?

https://github.com/LPS-RESULT/credit-score-calculator in this project, changed all the values ​​to their own, launched the application, everything changes except for this

spoiler
5dfa73d777ea5398267445.png
As I understand it, it is connected with Angular, but I almost don’t understand it. I see these values ​​​​in the code
spoiler
5dfa740d49a60115365888.png
as I understand it, they give out information in the final result, they seem to have changed everything they found, but it still doesn’t work and the text does not change.
Who understands this, please download the project, launch via npm start. In general, you need to change these two values ​​​​to your own text
spoiler
5dfa73d777ea5398267445.png
I have no idea how to do this, please help me

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Somewhere Intech, 2019-12-19
@JIZA

It will not work to change, there the logic is tied to the lines you write about. It will not work - insert a crutch with the translation of loanApproval and creditRating (they are stored in $scope like, but you look better). On back:
In the markup, specify {{ ruLoanApproval() }}
Upd: I'm not familiar with angular at all, it turns out that $scope is just a layer for the front, try changing it here in the creditScoreService.getCreditSummary(profile) function :
And creditRating in the same place, line below

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question