Title given in MainController.js not appearing on browser


#1

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 }}


#2

Hello @lavanyalanka ,

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

Thank you. :slight_smile:


#3

Hi bayoishola20,

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


#4

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


#5

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:


#6

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