1 Directives I


#1

Instruction 3 In the new file js/directives/appInfo.html. Type in this HTML to display an app's info:

img class="icon" ng-src="{{ info.icon }}"
h2 class="title">{{ info.title }}

p class="developer">{{ info.developer }}/p
p class="price">{{ info.price | currency }}/p

Where do I type this? Full code, please.


#2

Open this file and add the HTML given in the instruction. Click the folder, click js, click directives, click appInfo.html, click Open. This will open the file in the staging area.

Be sure to Run so it gets saved right away, even if wrong. If you walk away from your computer for more than a few moments the lesson times out. Refreshing does not restore unsaved code.