Top "Angular2-modules" questions

Angular2 module has no exported member

For a website with authentication in Angular2, I want to use a component of the authentication submodule in the main …

javascript angular typescript angular2-modules
How to route to a Module as a child of a Module - Angular 2 RC 5

I am in the process upgrading an application I'm working on to the latest Angular 2 release candidate. As part of …

angular angular2-routing angular2-modules angular2-router3
error TS1192: Module '" A.module"' has no default export

I have created a new module 'A' and trying to import it in another module called 'B'. I am getting …

angular typescript angular2-modules
Lazy Loading BrowserModule has already been loaded

I am trying to implement lazy loading but getting error as following ** ERROR Error: Uncaught (in promise): Error: BrowserModule has …

angular typescript angular2-routing lazy-loading angular2-modules
Angular 2: Module not found: Error: Can't resolve

I have a simple app created with Angular-CLI, I wanted to refactor and move the app.component.ts code in …

angular angular2-template angular2-modules
Angular2 router: how to correctly load children modules with their own routing rules

here is my Angular2 app structure: Here is part of my code. The following is the main module of the …

angular url-routing angular2-routing nested-routes angular2-modules
How to share service between two modules - @NgModule in angular not between to components?

In my application, I have two different bootstrap module (@NgModule) running independently in one application. There are not one angular …

angular angular2-services angular2-modules
How to declare a directive globally for all modules?

I'm developing a Github repo which follows the offical tutorial of Angular (Tour of Heroes). You can see all the …

angular angular2-directives angular2-modules
Error: 'app-header' is not a known element: Angular 2

Below is my folder structure. app - common - header header.component.css header.component.html header.component.ts - …

angular angular2-modules
Angular2 Module: How can i import a service from another module

import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { ClinicFacilityService } …

angular angular2-modules angular2-providers