Questions related to upgrading AngularJS (v1.x) application to Angular (v2+). This tag should be used for questions related to preparing AngularJS application for upgrade, running a hybrid AngularJS/Angular application, and transitioning out of hybrid mode.
Questions tagged [angular-upgrade]
213 questions
0
votes
0 answers
(SystemJS) exports is not defined
I am upgrading an application from angular 2 to angular 6. Upgrading rxjs as well on the way, and installed rxjs- compact. Getting this error while trying to run the application. The error, systemjs.config.js, tsconfig.json and package.json is…

Ashiq Ahmed
- 33
- 8
0
votes
3 answers
Upgrade to Angular 6 and the Test is not working
I initiated a project using Angular 5. After some development, I upgraded to Angular 6.
After upgrade to Angular 6, doing some adjustment to the development code.
But, I'm facing this issue when I run the Test.
Based on what I got, I'm missing…

Sherly Febrianti
- 1,097
- 15
- 33
0
votes
0 answers
Migrate Vue.js to Angular 6. Tips are welcome?
Need to migrate from vue.js to Angular 6. Is there a better approach to start with and need best practices too as new to both the frameworks.

Yuva Raj
- 11
0
votes
1 answer
Need help migrating from AngularJS to Angular 6
I have an old AngularJS app and I want to migrate to Angular 6 using the hybrid app method.
Before I do so, I wanted to follow the upgrade tutorial:
Phonecat upgrade tutorial
So I cloned the Phonecat AngularJS app and followed the steps. I'm stuck…

vIceBerg
- 4,197
- 5
- 40
- 53
0
votes
1 answer
Use angularjs expression bindings with downgraded angular
Say i have a checkbox directive i'm rewriting to angular from angularjs
checkbox.directive.js (angularjs)
template: ` ...`,
scope: { checked: '=', onChecked: '&' }
checkbox.component.ts (angular)
@Component({
selector: 'checkbox',
…

jonas
- 984
- 10
- 15
0
votes
0 answers
Change Detection in Test for Dynamically Created Component
I am migrating an AngularJS app to Angular (1.6 to 4.0), and I'm struggling with dynamically created components in my tests. For example I have an integration test that creates an AngularJS component with a button that pops up an Angular modal…

Eric Simonton
- 5,702
- 2
- 37
- 54
0
votes
1 answer
Can you use Angular 1 views in an Angular 2 app?
I am working on an app written in Angular 2, and we have many views that are written in Angular 1 from another application that we would like to use in our Angular 2 app with some minor changes. Is this possible? I've looked into this a little bit…

jmona789
- 2,711
- 6
- 24
- 57
0
votes
0 answers
Angular 1+2 hybrid app with layout/nav in ng1
According to Angular's upgrade guide, a hybrid Angular 1+2 app is set up like so:
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
platformBrowserDynamic().bootstrapModule(MyAngular2NgModule).then(platformRef => {
…

Ryan Langton
- 6,294
- 15
- 53
- 103
-1
votes
1 answer
Restangular equivalent in Angular
I am looking into migrating our application from angularjs (1.6.x) to modern Angular.
One thing I am not finding is a recommended replacement for Restangular (I am most interested in the generic response interceptor feature, where all my…

maggiomj
- 174
- 12
-1
votes
2 answers
Angular Upgrade from 8 to 9 - Ivy Compilation Errors in Templates
I successfully upgrade my angular app from version 8 to version 9 according to Angular Update Guide, and i solved all the issues that occurred in ts files.
In version 8 i was not using Ivy, i was using View Engine as it is the default.
After the…
-1
votes
1 answer
ASSERTION ERROR: This TNode does not belong to this TView. after angular update from v7.1 to v11
I have updated the angular app from v7.1 to v11, Updation was successful but after the update getting the below error.
ERROR Error: ASSERTION ERROR: This TNode does not belong to this TView. [Expected=> [object Object] == [object Object] <=Actual]
…

Umesh Naik
- 99
- 2
- 8
-1
votes
1 answer
Update angular 8 to 10 using cli
Using the ng update command to update the angular to the latest version. Keep getting the peer dependency issues.
I tried with the --force command, however, there were lots of different issues
Package "@angular-redux/form" has an…

San Jaisy
- 15,327
- 34
- 171
- 290
-1
votes
1 answer
Upgrade angular application from 6 to 10 produces lots of errors after update
Kindly suggest the best way to upgrade my application also share how to resolve peer dependency issues like this :-
Package "ngx-chips" has an incompatible peer dependency to "@angular/animations" (requires "^8.0.0" (extended), would install…

pankaj swarankar
- 1
- 1
-1
votes
1 answer
enableIvy option is not showing in tsconfig file while upgrading from angular 8 to angular 9
I tried to upgrade angular project from version 8 to 9. After upgrade, i didnot find enableIvy option in tsconfig file. Shall i need to add enableIvy as true inside tsconfig manually ? or Default it is true ?

user6044627
- 100
- 11
-1
votes
1 answer
AngularJS code in Angular context: ng-if On a DIV, unexpected outcome
@angular/upgrade/static
I am trying to upgrade an AngularJS controller to Angular context using UpgradeModule from '@angular/upgrade/static'
When I change ng-show to ng-if on span or div the enclosed content does not display as expected
Using the…

Payam
- 19
- 4