Skip to content

Core universal services #7438

@jeffwhelpley

Description

@jeffwhelpley

*I'm submitting a feature request *

This issue replaces #7301, #7302 and #7303. At a high level, we need to define tokens for commonly used services that typically exist on both the client and the server such as:

  • Head Service - In addition to modifying the title (which was just recently added), modify any other head tag value.
  • Cookie Service - Similar to $cookie in ng1, but would have a different server side implementation
  • Storage Service - localStorage on the client side, but either in memory or redis on the server.

The motivation behind this is that almost every universal app we have seen needs these services and we have to ensure that the interface for these services is consistent on the client and server for all users.

@gdi2290 and @jeffbcross have been discussing this change for the past couple weeks and I believe Jeff is going to have some talks with other core team members to finalize what we do here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: commonIssues related to APIs in the @angular/common package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions