Whatever I did,everything is just itself!Don't show up their value


#1

It's my index code:

It's my MainControl code:
app.controller('MainController', ['$scope', function($scope) {
$scope.title = 'This Month\'s Bestsellers';
$scope.promo = 'The most popular books this month.';
$scope.product = [
{
name: 'The Book of Trees',
price: 19
}
];
}]);
and it's my output:


#2

did you set ng-app and ng-controller on index.html?


#3

of course,I did.But I've solve the problem,you know why?because I am a chinese guy,if i have to connect google.css or something else,I have to proxy.now I have down,so they are shown up.if someone have same situation,you can tell them that!PS:I love your exercise.

------------------ 原始邮件 ------------------
发件人: "Reyes Herrera Jr"codecademy@discoursemail.com;
发送时间: 2016年7月11日(星期一) 晚上10:51
收件人: "郎佳明"592676835@qq.com;
主题: [Codecademy Discuss] [AngularJS/Your First App] Whatever Idid,everything is just itself!Don't show up their value

                                                                                                       tagwhiz02968               
           July 11

did you set ng-app and ng-controller on index.html?

Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.


#4

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