Write the Directive's Template


#1

AngularJS project 'Bolt Network' Directives step 2/7 it ask me the following:

"Next, write the directive's template. Make a new file js/directives/programListing.html. Move the HTML from index.html inside the .content div into the directive's template file."

https://www.codecademy.com/courses/learn-angularjs/projects/angularjs_bolt-network-2

This I don't understand. Is there a template for my new file someplace? What am I missing?


#2

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