Questions tagged [angular-hybrid]

For questions about running AngularJS and Angular 2+ frameworks side-by-side

For questions about running AngularJS and Angular 2+ frameworks side-by-side

One of the keys to a successful upgrade is to do it incrementally, by running the two frameworks side by side in the same application, and porting AngularJS components to Angular one by one. This makes it possible to upgrade even large and complex applications without disrupting other business, because the work can be done collaboratively and spread over a period of time. The upgrade module in Angular has been designed to make incremental upgrading seamless.

For more information, see Angular Developer Guide - Upgrading from AngularJS

The DEMO on PLNKR

104 questions
0
votes
0 answers

JS Error for Angular and Nativescript project

Current behavior When I try to run the application using tns run ios , it gives me the following error. attached picture shows the JS Error in the terminal Expected behavior The app should boot up without the JS error just like the web…
0
votes
1 answer

Migration from Angular1 to Angular5 (parallel run)

My current AngularJS application is being served by django. Now our team in a position to migrate Angular1 to Angular5. It should run parallelly. Our application is very big and legacy. I checked angular doc, which has ngupgrade which will help us…
a8hok
  • 153
  • 1
  • 2
  • 10
0
votes
0 answers

Can I run an AngularJS component and an Angular component next to eachother?

We have an AngularJS application. The "main" template is out of it's reach: it's generated by a CMS. We have no idea how the page is going to look like. The AngularJS application starts wherever there's an AngularJS component. It's not a SPA, we…
0
votes
1 answer

Protractor e2e tests are running very fast in AngularJS/Anuglar 6 Hybrid application

I have migrated our Angular JS(1.5) app to a Hybrid app. I am using Angular6/AngularJS (1.6) both. I am trying to run protractor e2e of the existing e2e tests for angular js pages. My all the existing tests are running very fast. and Most of e2e…
Abhishek
  • 13
  • 2
  • 4
0
votes
0 answers

does Angularjs change detection affect angular change detection

i went through some articles, it says if you want to improve the performance you can set the ngZone to noop. My application is hybrid (angular and angularjs combination), does anybody know if changes done in angularjs component also triggers the…
shyam_
  • 2,370
  • 1
  • 27
  • 50
0
votes
0 answers

angularjs angular hybrid application very slow

i am just using an angular component library called gridster in my large angularjs application. for that i made my app hybrid, as in future we are planning to upgrade our application to be on completely on angular. i am using 1.4.3 angularjs and 6.0…
shyam_
  • 2,370
  • 1
  • 27
  • 50
0
votes
5 answers

call $emit event from angular to angularJS (publish-subscribe pattern)

I have a hybrid angular application tha uses both angularJS and angular 5. I'm migrating a controller from angularJS to angular 5. This controller (let's call controller1) have the following code: $rootScope.$emit('goToHomeEvent', 'Navigate to…
Ricardo Rocha
  • 14,612
  • 20
  • 74
  • 130
0
votes
0 answers

Setting Up Angular 6 along with Angular 1.5.8

I have client which has product developed in Angular 1.5.8. The want to create a module of 3 pages in the same product with Angular 6. Is it possible to have such a setup?
newNodeJS
  • 1
  • 1
  • 2
0
votes
1 answer

ngUpgrade with Angular-cli

I have a hybrid AngularJS (1.7.0) and Angular 6 app. I am also using @angular/upgrade module to upgrade/downgrade components and services. I have got it working using custom webpack but now I want move towards angular-cli. Can anyone suggest the…
tangokhi
  • 945
  • 2
  • 8
  • 20
-1
votes
1 answer

When loading Angular JS component, I'm getting typeerror-angular-lowercase-is-not-a-function

I have a hybrid project with both Angular 9 and Angular JS. When loading the Angular JS component, in getting the below error in console. typeerror-angular-lowercase-is-not-a-function. Please advise
-1
votes
1 answer

How to test an Angular component that injects an AngularJS service

I am running a hybrid angular application. Most of my services are still on the AngularJS side. I am able to use those in my hybrid application just fine. export function myServiceFactory(i: any): any { return i.get('MyService'); } export const…
lostintranslation
  • 23,756
  • 50
  • 159
  • 262
-1
votes
1 answer

TS2430 error in angularjs/angular 6 hybrid application

I'm getting a compilation error in my hybrid angularjs/angular6 application. It occurs in ~\node_modules\@angular\upgrade\static\src\common\angular1.d.tsfile. Types of property '$inject' are incompatible. Type 'ReadonlyArray' is not assignable…
-2
votes
1 answer

Is possible to integrate Angular Application in existing Angular JS Application?

I want to run My new Angular 7 application in our existing Angular JS applicatio? does anyone has any demo example or Steps we should consider while doing ?
-4
votes
1 answer

AngularJS / Angular 6 Hybrid App Duplicate Console Error Messages

See image below. I assume it's because it's an hybrid app that it would push out errors twice but then again I could be wrong about that. Has anyone encountered this before? Why are errors being printed twice?
Edgar Quintero
  • 4,223
  • 2
  • 34
  • 37
1 2 3 4 5 6
7