klarsys / klarsys/angular-material-icons

Use in Angular 4

Open
#80 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
553
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I ran npm install mdi, have everything there. However, I don't see a way to import in the app.module.ts, and your instructions say to..

> Inject ngMdIcons to your angularjs application:
> angular.module('demoapp', ['ngMdIcons']);

...but it doesn't say where, and attempting to add it with @inject within the component's ts constructor fails with your settings-- my app doesn't recognize "angular" in angular.module from your instructions. Are there any directions for inclusion in an Angular 4 project? Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the documented AngularJS setup with the Angular 4 app.module.ts context described in the issue. Check whether the existing npm package supports Angular 4, then document the correct inclusion steps or clearly state the compatibility limitation; the issue is done when a user can follow the instructions without relying on angular.module or @inject.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.