Questions tagged [angular2-upgrade]
34 questions
18
votes
5 answers
Getting a "Can't resolve all parameters" error when setting up a hybrid AngularJS / Angular app
I want to upgrade my traditional Angular JS app and I have been following the documentation on angular.io to setup a hybrid app.
Now my bootstrapping process in app.ts looks like:
import { platformBrowserDynamic } from…

Røye
- 1,077
- 3
- 14
- 27
14
votes
1 answer
Angular 1.x/2 Hybrid, karma tests not bootstrapping ng1 app
I currently have a Hybrid Angular app (2.4.9 and 1.5.0) using angular-cli. Currently, when running our application, we are able to bootstrap the 1.5 app correctly:
// main.ts
import…

jt-platterz
- 141
- 5
11
votes
3 answers
Upgrade Angular version (now: 2.4.3 or 4.0.0-beta.3) following the best practice?
Now that Angular is following a Semantic Versioning, and Angular2.4.3 were released, I'm a little confused here on what is the best practice when I upgrade to the next Angular version in existing project.
I've a project with Angular-cli, with…

Ahmed Abdelrahman
- 778
- 3
- 12
- 30
10
votes
4 answers
Angular2 upgrade to RC6, traceur not found
After upgrade to RC6, following errors occurs:
zone.js:101 GET http://localhost/traceur 404 (Not Found)
zone.js:484 Unhandled Promise rejection: Error: XHR error (404 Not Found) loading http://localhost/traceur
at XMLHttpRequest.wrapFn…

ulou
- 5,542
- 5
- 37
- 47
8
votes
2 answers
Angular1 <-> Angular2 Bridge accessing $rootScope
I use the following upgrade/downgrade bridge https://angular.io/docs/ts/latest/guide/upgrade.html to have Angular1 and Angular2 side by side in one application.
My question is if there is any possiblity to access Angular1 $rootScope from the…

Łukasz Rzeszotarski
- 5,791
- 6
- 37
- 68
8
votes
3 answers
Angular2 RC6 upgrade
after updating my project to RC6 following errors occurs:
Error: Typescript found the following errors:
app.component.ts (12, 3): Argument of type '{ moduleId: string; selector: string; templateUrl: string; styleUrls: string[]; directives:…

ulou
- 5,542
- 5
- 37
- 47
8
votes
3 answers
upgrade angular 1 to 2
I have my angular app with version 1 so can i upgrade it with angular version 2
We started to design a new project that designated to be built with Angular as each of our previous, the importance of this project is very high and it's going to live…

user2515556
- 101
- 1
- 2
7
votes
0 answers
Lazy loading in angular 1+2 hybrid apps
We have an angular 1+2 hybrid application (therefore using an angular 1 base app).
We are using upgrade adapter to downgrade our angular2 components before we bootstrap our application with the adapter. That works as expected.
However, we anticipate…

Sayak Banerjee
- 1,954
- 3
- 25
- 58
6
votes
2 answers
Angular2 RC5 error:zone.js: Unhandled Promise rejection: No provider for ElementRef
I recently upgrade from RC4 to RC5, and didn't change any code, but the app is broken. Here is the error message:
The error message seems came out when load the index.html file: