居然有一個錯誤沒有檢測到?。?!hello函數里面console.log('hello service!!')后面是感嘆號,而不是分號或者不寫符合,這樣居然不報錯?!
2017-12-17
ng g c name : 創建新的組件
ng g s name -m xx.ts :在某個組件注冊服務
ng g s name -m xx.ts :在某個組件注冊服務
2017-12-09