Title given in MainController.js not appearing on browser

I have started with the first exercise of AngularJS - Hello AngularJS I.
The title given in MainController.js in the below statement does not appear on the browser when I hit this https://localhost/8000
app.controller(‘MainController’,[’$scope’,function($scope) {
$scope.title=‘Top Sellers in Books’;
}]);

Here is the output that Iam getting:

{{ title }}

Hello @lavanyalanka ,

Please help post link and all necessary code to the exercise.

Thank you. :slight_smile:

Hi bayoishola20,

Thanks for the reply. Can you please help me understand what is post link.

Please ignore, I reloaded the script from the scratch and did exercise from the beginning.
It got resolved.

Okay, good you were able to resolve it.

To post link, copy URL and then click on the icon that looks like handcuffs. A box pops open. Other steps are spelled out.

Have fun coding! :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.