Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Wire up Subscribe Form #19

Open
ry4-n opened this issue May 29, 2017 · 0 comments
Open

Wire up Subscribe Form #19

ry4-n opened this issue May 29, 2017 · 0 comments
Assignees

Comments

@ry4-n
Copy link
Contributor

ry4-n commented May 29, 2017

A subscribe component exists already under src/app/home-page/newsletter-subscribe. We need to wire this up to an Angular Service called "ContactService".

  • Scaffold out ContactService using CLI.
  • ContactService should exist in the src/app/shared directory.
  • Create a method called createSubscriber that accepts an object.
  • The method should use http service and call post with appropriate parameters to create a new subscriber. (Note, the API endpoint does not currently exist)
  • The ContactService should also have a "getSubscribers" method that use the http service to call the API end point. (Note, the API endpoint does not currently exist)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants