[AngularJS] Re: Question about forkProcess in /lib/launcher.ts

2019-08-14 Thread Sander Elias
Hi Barret, This is an optimization. Creating a fork takes resources/time. It's a waste if you only have 1 task. Testing takes long enough as it is. That is the reason it's built like this. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular

[AngularJS] localhost is refusing to connect

2019-08-14 Thread Dale Francis
If I try to launch a new Angular app, I get the error "localhost is refusing to connect". This comes when I attempt to use a server in this manner: ng serve --port 3000 --open Advice? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS

[AngularJS] read data from serial port using angular2

2019-08-14 Thread Jitendra Rajauriya
We want to serial port communication using existing angular2 project. I installed the following. npm install serialport --save npm install @types/serialport --save and import { SerialPort } from 'serialport' in component.ts serialPort: typeof SerialPort; now we got undefined from serialPort.

[AngularJS] Re: data persistence

2019-08-14 Thread Sander Elias
Hi Vishal, The size of the pages of your request and the side of the pages on the UI doesn't need to be in sync. There is no issue in caching a couple of thousands of rows in your frontend services. it takes some planning and calculation. for example, if you keep 10 pages of data in the

[AngularJS] Re: localhost is refusing to connect

2019-08-14 Thread Sander Elias
Hi Dale, Can you try another port? I'm using this many times a day without an issue! Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an

[AngularJS] Re: Using jQuery With Angular is it best practice and why would you do it?

2019-08-14 Thread Sander Elias
Hi Alex, 1. yes. 2. no, it is not, but there are cases when it's still needed. 3. There are security implications that come with jQuery, as there are with Angular. I'm not aware of an enlarged risk when those are mixed. Regards Sander -- You received this message because you are subscribed to

[AngularJS] Re: Google Chart Visualization loading issue.

2019-08-14 Thread Sander Elias
Hi Komal, This is about change-detection. The setTimeout forces a cycle in the change-detection. Also, it might take some time to load and draw the chart, and your generous time allows for this. Regards Sander -- You received this message because you are subscribed to the Google Groups

[AngularJS] Re: read data from serial port using angular2

2019-08-14 Thread Sander Elias
Hi Jitendra, Is the serialPort module suited for use in a browser? A lot of NPM modules only work in a server setting! Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop

Re: [AngularJS] Re: read data from serial port using angular2

2019-08-14 Thread Jitendra Rajauriya
thanks for reply i want to client side serial communication with existing angular project. can you give me better solutions. Thanks On Wed, Aug 14, 2019 at 1:53 PM Sander Elias wrote: > Hi Jitendra, > > Is the serialPort module suited for use in a browser? A lot of NPM modules > only work in a

Re: [AngularJS] Re: read data from serial port using angular2

2019-08-14 Thread Sander Elias
https://github.com/garrows/browser-serialport -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view

[AngularJS] Re: bootstrapping a different module on main module exception

2019-08-14 Thread Sander Elias
Hi Silvio use a bootStrapModuleFactory instead: https://angular.io/api/core/PlatformRef#bootstrapmodulefactory Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop

[AngularJS] Re: Angular 8 with an api

2019-08-14 Thread Sander Elias
Hi Tito, 1, Yes, perhaps take a look an NX from Nrwl, it even provides generators that deal with this. 2. use the scripts section in your package.json. ``` scripts : { startAll: 'ng serve && node server/server } ``` you might want to use a tool to start them in parallel, there are several