Skip to content

Guard MdIconModule if not called .forRoot() #1150

Closed
@mhevery

Description

@mhevery

Currently it is easy to forget to call MdIconModule.forRoot() Could we throw an error like we do in Router: https://github.com/angular/angular/blob/master/modules/@angular/router/src/router_module.ts#L123

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions