angular.js - A problem encountered with Angular directive, first aid
世界只因有你
世界只因有你 2017-05-15 16:52:07
0
1
553

I used NodeJS to make a crawler, crawl data from the web page and return it in the form of json,

After using $http to get it, I now want to escape and ask for standard page display. This is what is written on my page

Then js part

The content after I output scope is

Originally, the data should be obtained through scope.newsContents.content, and then displayed through jQuery in .html(), but the following result occurred

is directly undefined, let alone get the content below. I tried to output other things in scope and it worked

![Picture uploading...]

Please help me solve this problem, I would be very grateful.

世界只因有你
世界只因有你

reply all(1)
伊谢尔伦

Thanks to my friend for his patient answer, I slowly figured it out

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template