<p dir="auto"><strong>I'm submitting a ...</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
rxjs_observable_of.of is undefined in ApplyRedirects.prototype.expandSegment when using rxjs bundle (5.0.0-beta.12)</p>
<p dir="auto"><strong>Expected behavior</strong><br>
rxjs_observable_of.of should be defined as the Of operator.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Unable to use the router when using the bundle. The load time of my application is slow when all operators has to be loaded one by one.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<h3 dir="auto">package.json:</h3>
<blockquote>
<p dir="auto">{<br>
"name": "angular-quickstart",<br>
"version": "1.0.0",<br>
"description": "QuickStart package.json from the documentation, supplemented with testing support",<br>
"scripts": {<br>
"start": "tsc &amp;&amp; concurrently "tsc -w" "lite-server" ",<br>
"pree2e": "npm run webdriver:update",<br>
"e2e": "tsc &amp;&amp; concurrently "http-server -s" "protractor protractor.config.js" --kill-others --success first",<br>
"lint": "tslint ./Application/*<em>/</em>.ts -t verbose",<br>
"lite": "lite-server",<br>
"test": "grunt build &amp;&amp; concurrently "grunt watch" "karma start Build/karma.conf.js"",<br>
"test-once": "tsc &amp;&amp; karma start karma.conf.js --single-run",<br>
"tsc": "tsc",<br>
"tsc:w": "tsc -w",<br>
"webdriver:update": "webdriver-manager update"<br>
},<br>
"keywords": [],<br>
"author": "",<br>
"license": "ISC",<br>
"dependencies": {<br>
"@angular/common": "2.0.1",<br>
"@angular/compiler": "2.0.1",<br>
"@angular/core": "2.0.1",<br>
"@angular/forms": "2.0.1",<br>
"@angular/http": "2.0.1",<br>
"@angular/platform-browser": "2.0.1",<br>
"@angular/platform-browser-dynamic": "2.0.1",<br>
"@angular/router": "3.0.1",<br>
"systemjs": "0.19.39",<br>
"core-js": "^2.4.1",<br>
"reflect-metadata": "^0.1.3",<br>
"rxjs": "5.0.0-beta.12",<br>
"zone.js": "^0.6.23",<br>
"bootstrap": "^3.3.6",<br>
"system-text": "0.1.0",<br>
"angular2-jwt": "0.1.23",<br>
"es6-module-loader": "0.17.11",<br>
"es6-promise": "4.0.5",<br>
"es6-shim": "0.35.1",<br>
"font-awesome": "4.6.3",<br>
"jquery": "3.1.1",<br>
"ng2-bootstrap": "1.1.5",<br>
"normalize.css": "4.2.0",<br>
"underscore": "1.8.3"<br>
},<br>
"devDependencies": {<br>
"@types/core-js": "^0.9.34",<br>
"@types/jasmine": "^2.2.34",<br>
"@types/jquery": "^2.0.32",<br>
"@types/karma": "^0.13.33",<br>
"@types/moment": "^2.13.0",<br>
"@types/underscore": "^1.7.33",<br>
"canonical-path": "0.0.2",<br>
"concurrently": "^3.0.0",<br>
"extend": "3.0.0",<br>
"grunt": "~0.4.0",<br>
"grunt-cli": "1.2.0",<br>
"grunt-contrib-clean": "1.0.0",<br>
"grunt-contrib-connect": "1.0.2",<br>
"grunt-contrib-copy": "1.0.0",<br>
"grunt-contrib-less": "1.4.0",<br>
"grunt-este-watch": "0.1.18",<br>
"grunt-ts": "6.0.0-beta.3",<br>
"grunt-tslint": "3.2.1",<br>
"http-server": "^0.9.0",<br>
"jasmine-core": "~2.5.2",<br>
"karma": "^1.3.0",<br>
"karma-chrome-launcher": "^2.0.0",<br>
"karma-cli": "^1.0.1",<br>
"karma-htmlfile-reporter": "^0.3.4",<br>
"karma-jasmine": "^1.0.2",<br>
"karma-jasmine-html-reporter": "^0.2.2",<br>
"lite-server": "^2.2.2",<br>
"lodash": "^4.16.1",<br>
"protractor": "^4.0.9",<br>
"rimraf": "^2.5.2",<br>
"tslint": "^3.15.1",<br>
"typescript": "^2.0.3"<br>
},<br>
"repository": {}<br>
}</p>
</blockquote>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.1</li>
<li><strong>Browser:</strong> [Chrome 53.0.2785.116 m]</li>
<li><strong>Language:</strong> [TypeScript 2.0.3]</li>
</ul>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
I updated system-config.ts file to download umd file for rxjs I.e rxjs\bundles\Rx.umd.js. This worked. But I still see in dev tools a lot of individual JS being load like rxjs\observer.js</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
When using UMD for rxjs it should not download individual files</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
See this plunker  when you riun in full screen mode observe the files being loaded in dev tools. <a href="http://plnkr.co/edit/TvjW2YK3NVJ7sDb7cHV4?p=preview" rel="nofollow">http://plnkr.co/edit/TvjW2YK3NVJ7sDb7cHV4?p=preview</a></p>
<p dir="auto">No community response on question: <a href="http://stackoverflow.com/questions/37881825/using-rxjs-umd-bundles" rel="nofollow">http://stackoverflow.com/questions/37881825/using-rxjs-umd-bundles</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
When using UMD for rxjs it should not download individual files</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
To reduce load request when angular app starting up</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.2</li>
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br>
Tested only on chrome</li>
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5 | Dart]<br>
Tested with Typescript only</li>
</ul>