Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use in Angular 4 #80

Open
Jay-PC opened this issue Nov 9, 2017 · 2 comments
Open

Use in Angular 4 #80

Jay-PC opened this issue Nov 9, 2017 · 2 comments

Comments

@Jay-PC
Copy link

Jay-PC commented Nov 9, 2017

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.

@urmilparikh
Copy link
Contributor

This module doesn't support Angular 4, only AngularJS 1.x is supported.

@guptasanchit90
Copy link

Just created a port of this for angular 4 - https://github.com/guptasanchit90/ng-svg-icon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants