chore(build): Remove circular dependency in Angular 2 ES5 output.

Remove couple of circular dependency between modules in Angular 2 ES5 output caused by exception_handler.ts and router_providers.ts.

Fix the build/checkCircularDependency gulp task to call madge properly to detect the circular deps.

Closes #7287
This commit is contained in:
Vikram Subramanian
2016-03-03 17:42:33 +00:00
committed by vikerman
parent 7d44b8230e
commit 9936e347ff
7 changed files with 48 additions and 15 deletions
@@ -1,5 +1,4 @@
// import {ROUTER_PROVIDERS_COMMON} from './router_providers_common';
import {ROUTER_PROVIDERS_COMMON} from 'angular2/router';
import {ROUTER_PROVIDERS_COMMON} from './router_providers_common';
import {Provider} from 'angular2/core';
import {CONST_EXPR} from 'angular2/src/facade/lang';
import {BrowserPlatformLocation} from './location/browser_platform_location';