surbhinahta
Posts: 1
Joined: Fri Nov 15, 2019 7:24 am
Location: India
Contact: Website

How to change the value of title using AngularJS?

Tue Dec 10, 2019 5:22 am

I don’t know if I did it wrong, it allowed me to go to the next one though, but on the localhost browser section it doesn’t show the contents that are saved under the $scope.title. The<h1>{{ title }}</h1> would print out {{ title }}, is that suppose to happen?

the same goes when I do the section in Hello AngularJS II for the $scope.promo. the <h2>{{ promo }}</h2> doesn’t show the contents that are placed under the $scope.promo and just shows {{ promo }}. I copied and paste what they said to put so yeah…

Is this suppose to happen in AnjularJS?

Heater
Posts: 14787
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to change the value of title using AngularJS?

Tue Dec 10, 2019 12:19 pm

No idea. Angular is far to complex and they have changed it too much too often. Are you sure the document you are reading matches the Angular version you are using?

You might have better luck with React,js. Much simpler. Likely does everything you will ever need.
Memory in C++ is a leaky abstraction .

Return to “Other programming languages”