We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to change the value of title using AngularJS?


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 using AngularJS?

1 Reply

PN Preethi Nesakkan Gnanadurai Syncfusion Team December 11, 2019 11:44 AM UTC

Hi Surbhi, 
Non Syncfusion related technical questions are better handled on Stackoverflow. Could you please review this answer and https://stackoverflow.com/questions/24360295/what-is-scope-in-angularjs and post a question there if you still have questions around it. 

Live Chat Icon For mobile
Up arrow icon