No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of learn-co-students:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
spec
.gitignore
.learn
CONTRIBUTING.md
LICENSE.md
README.md
conf.js
index.html
package.json

README.md

Creating a component()

Objectives

  • Create a Component structure
  • Refactor a Directive into a Component

Instructions

In this repo, we've got a ContactCard directive. This displays contact information passed through to it as attributes.

Change this directive over to using our new .component method. (Remember to use bindings!)

** Note ** - this lab includes one test that's currently passing. This test should still be passing after you refactor to use a component.