我想将PubNub添加到angular2-cli项目中。问题在于链接;然而,我遵循了pubnub 2包在npmjs.com上的说明。确保在角适配器之前包含pubnub.js v4库。from '@angular/core';import {HttpModule} from '@angular/http';
i
If registering a module ensure that you specify the dependencies as the second argument angular.module('myAppRename.view2', ['ngRoute', 'ngMessages'])
我在这里做错了什么?