Angular - I can't insert images for my books > Angular > your first app > exercise 8 - Directives


#1

The directions state:
"add two of your favorite books to the $scope.products array."

The $scope.products array consists of various info about books, including an image of each book. I can't add an image to the img folder, and therefore can't reference it in the $scope.products array

How do you add images to a folder?


#2

You can just copy the URL of almost any picture by right-clicking on it and clicking "Copy image URL".
Then, the site will just use the picture you chose.
(This does not work on Khan Academy.)


#3

Thanks, betaninja42386! You solved my problem!