该项目是使用Angular2作为其框架构建的,但是该工作人员似乎试图将AngularJS材料用于HTML组件。在这个项目中,100%使用的组件都是'md‘组件,这对于Angular2项目来说是没有意义的。当我为项目提供服务时,什么都没有出现,并且我得到了错误:'md-card' is not a known element.If 'md-card' is an Angular component, then,这是有意义的,因为'md-card‘不应该是An
import { Injectable } from '@angular/core';import { HttpClient } from'@angular/common/http';
Generated class for the DataProvider provider.See https://angular.