[Angular] Re: print invoice angular 10

2021-01-28 Thread Sander Elias
http://letmegooglethat.com/?q=css+print+styles Op vrijdag 29 januari 2021 om 07:46:07 UTC+1 schreef aatd...@gmail.com: > Hello, i'm using angular 10 version i want to know how to print an > invoice without the navbar and the sidebar. > > Thank you > -- You received this message because you a

[Angular] Re: import service from library

2020-12-22 Thread Sander Elias
When you create a library, the CLI puts a path in your tsconfig.json. You can look this up. the name you can use for your import should be in there. (if you did export it properly, it might be that you need to do a so-called "deep import" (`tools/something/else/my-thing`)) And no, I'm not aware

[Angular] Re: import service from library

2020-12-22 Thread Sander Elias
Try ```ts import {authService} from "tools" ``` Regards Sander Op dinsdag 22 december 2020 om 13:34:18 UTC+1 schreef alexande...@gmail.com: > I created a library using: > > $ ng g library tools > > I want to import a service called AuthService from the library from > another project, I have: >

[Angular] Re: Newbie tutorial

2020-08-23 Thread Sander Elias
Hi Jeref, Did you check out the angular.io sites getting started ? There is different kind of stuff there. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this grou

[Angular] Re: Trying to use JSON-LD with Angular 7

2020-08-18 Thread Sander Elias
https://coryrylan.com/blog/angular-seo-with-schema-and-json-ld -- 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...@googlegrou

[Angular] Re: Export data to multiple worksheet in Angular

2020-08-14 Thread Sander Elias
Hi, AFAIK there is no specific angular solution for this, but there are some XLS libraries available that might be able to do what you need. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS

[Angular] Re: HTTP get call taking so long : Angular 7

2020-08-14 Thread Sander Elias
Hi Ajit, I have not seen this myself but I think I recall an issue from way back in ng 7. Can you update your app to the current Angular and retry? An alternative solution is to use fetch for this one data-source. Regards Sander -- You received this messa

[Angular] Re: First time Deploying / Production

2020-08-14 Thread Sander Elias
Hi Uri, Use a development server like Http-Server to serve the build locally 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 sto

[Angular] Re: Grand Totals Not Updating Upon Delete

2020-08-11 Thread Sander Elias
Order matters. try calculating grandTotal after removing items from the array. (move `this.grandTotal' a line down) Op maandag 3 augustus 2020 om 15:25:51 UTC+2 schreef maka...@gmail.com: > this.isSubmitted = true; should be before this.grandTotal; > >> >> -- You received this message because

[Angular] Re: ngrx data and websocket

2020-08-11 Thread Sander Elias
Angular's httpClient does a complete when the data is in. I suspect your setup is waiting for the complete before it actually reacts. You need to change this around so it acts when the data appears. The being difference here is that its actually possible that there will be new data coming in ov

[Angular] Re: Angular NgModules FAQ - Example statement could be incorrent in Doc.

2020-08-02 Thread Sander Elias
Well, it seems one of the two is off. You should test, and pr the one that is incorrect. Op zondag 2 augustus 2020 om 09:27:43 UTC+2 schreef amar...@gmail.com: > Hi all, > > While reading the official documentation for Angular I came across an > example statement which seems to be false (incorr

[AngularJS] Re: Error: The serve command requires to be run in an Angular project, but a project definition could not be found.

2020-07-29 Thread Sander Elias
I never heard of this issue. its something like: ``` ng new myNewProject cd myNewProject ng serve ``` Op woensdag 29 juli 2020 om 12:38:43 UTC+2 schreef pja...@gmail.com: > I created a new project in Angular and when i try to run(ng serve) i get > this error: >> >> The serve command requires to

Re: [AngularJS] Angular 8 DexExtreme avoiding the infamous ExpressionChangedAfterItHasBeenCheckedError

2020-07-29 Thread Sander Elias
Hi Michael, Devextreme has its own support system. Perhaps they can help you. My experience with devExtreme is aged, and while I recognize the problem, I have no clue how to help you without spending a couple of hours with it again. I know better uses of my spare time ;) Regards Sander Op din

[AngularJS] Re: Populating a "table" where each column is an component and each row is its property

2020-07-22 Thread Sander Elias
Hi Michael, Sounds like you want to create a css-grid. 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 email to angular+unsubscr...@g

[AngularJS] Re: How to create different header and footer for multiple modules in Angular

2020-07-22 Thread Sander Elias
Add a level above what yo now have, and use that tot control the header/footer -- 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+unsub

[AngularJS] Re: Data table?

2020-07-21 Thread Sander Elias
Depends a little bit on how many items you have in the result set. But i would reprocess it. something like: const results = [] for (result of IncommingList) { results[result.student-name] = results[result.student-name] || [results. student-name] results[result.student-name][resul.test]=resul

[AngularJS] Re: Adding an import to app.module.ts throws an error

2020-06-29 Thread Sander Elias
Use and then 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 email to angular+unsubscr...@googlegroups.com. To view this discussio

Re: [AngularJS] Re: Creating HTML from .docx and .pdf files

2020-06-28 Thread Sander Elias
Hi Maninder, Cool, First step would be decoding the files: - pfd - docx After decoding the above, create a dom node, write the parsed information into it, by creating all needed nodes, make sure to

[AngularJS] Re: Beyond AngularJS LTS

2020-06-28 Thread Sander Elias
Hi Dyca, There is a company providing extended support for AngularJS. I highly doubt that Cordova-apps will be blocked from the store based on this. AFAIK they don't look at your JS case at all, the only check is if it's violating security issues on a system level

[AngularJS] Re: 2d and 3d image rendering

2020-06-28 Thread Sander Elias
http://www.catb.org/~esr/faqs/smart-questions.html -- 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 v

[AngularJS] Re: Creating HTML from .docx and .pdf files

2020-06-28 Thread Sander Elias
Hi, Your question is quite loose. Convert to HTML in the frontend? What do you want to convert? Also, what about fonts, styling, images, borders, padding, margins, colors and so on? Does it needs to be pixel-perfect, or just the raw test-content? What would happen if the PDF doesn't have text,

[AngularJS] Re: Angular- row expansion in p-table creates duplicate data in both frozen and unfrozen column.

2020-06-28 Thread Sander Elias
http://www.catb.org/~esr/faqs/smart-questions.html -- 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 v

[AngularJS] Re: Generate a dynamic HTML id with Angular JS

2020-06-28 Thread Sander Elias
Hi Francesso, You can not create an DOM id like that. The browser only allows you to set the ID once, and it doesn't change anymore after that. Your code will set the id to: "a{{r}}" Wich is a valid Id, but not really usable. The best thing you can do is not rely on `id`'s in the first place. If

[AngularJS] Re: Deploy same build to multiple subdomains in Angular 8

2020-06-28 Thread Sander Elias
That is the easiest to implement solution available yes. However, if the data in your environments isn't sensitive, you can serialize it, and dynamically pick one depending on domain name. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and

Re: [AngularJS] The library (@angular/forms) which declares FormBuilder has not been processed correctly by ngcc

2020-06-28 Thread Sander Elias
Hi Maureen, I'm glad you found your solution. As a rule of thumb, only import things where you need them. Only add things to angular modules that really need to be there. That is usually only if the Angular compiler is complaining about missing something. (for example, you need to include the f

[AngularJS] Re: Adding an import to app.module.ts throws an error

2020-06-28 Thread Sander Elias
Hi Maureen, No, you don't need to add imports in your controllers to your modules. Typescript and the build tools take care of this. (to be complete, the underlying JS could be taking care too, but that's not a consideration right now) Regards Sander -- You received this message because you

[AngularJS] Re: Performance issue on any event like button click, mouse over, typing in angular-7

2020-06-19 Thread Sander Elias
Ajit, I can repeat my previous reply. Using functions in templates is an antipattern in Angular, and should be a last-stop solution. Each of those functions is called numerous times. This will cause a performance hit. What you can do is some memorization in the functions itself. A better soluti

[AngularJS] Re: MinValidator Directive

2020-06-19 Thread Sander Elias
https://angular.io/api/forms/Validators#min -- 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 thi

[AngularJS] Re: Google Earth Engine API with Angular problem

2020-06-14 Thread Sander Elias
https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow -- 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+unsu

[AngularJS] Re: Google Earth Engine API with Angular problem

2020-06-14 Thread Sander Elias
Hi Deepak, Make sure you are using the google authentication path that s setup up for usage in the browser, it sounds like you are trying to use server-side auth in your browser. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJ

[AngularJS] Re: Performance issue on any event like button click, mouse over, typing in angular-7

2020-06-14 Thread Sander Elias
Hi Ajit, It sound like you are doing too much logic inside the template. Move most, if not all of the logic to the controller and it will get better. Also, are you also sure you need to all your choices on a mouseClick? perhaps refactor your app so, that it only "recalculates" when data-changes

[AngularJS] Re: Angular Application stay open and active for continuous 8 days

2020-05-29 Thread Sander Elias
HI Nitin, Yes, you can do that with a web application. Angular is well suited for this, and is well tested for memory degradation. But it's easy to make something that leaks memory, so you need to profile it thoroughly. Also, I assume it's running in some kind of browser environment. Those thi

[AngularJS] Re: Usage of edaformgenerator of angularJs in angular 9

2020-05-27 Thread Sander Elias
Hi Hanny, It looks like the EDA-form generator isn't actively supported anymore. If you really need to use the functionality, you might want to use the ngUpgrade procedure to integrate that part of your angularJS application in your Angular app. Regards Sander -- You received this message be

[AngularJS] Re: Multifactor Authentication with Angular

2020-05-27 Thread Sander Elias
https://hackernoon.com/create-an-angular-7-google-authenticator-node-js-web-app-with-two-factor-authentication-95e87af9356b -- 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 ema

[AngularJS] Re: Angular 8.0 install

2020-05-27 Thread Sander Elias
npm -g i @angular/cli@8 ng new sample-app -- 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 this

[AngularJS] Re: In-Page Anchors reload to application's Home page - how do I fix this?

2020-04-28 Thread Sander Elias
https://angular.io/guide/router#query-parameters-and-fragments -- 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...@googlegrou

Re: [AngularJS] Re: How to maintain a unique ID for Angular Template Element

2020-04-16 Thread Sander Elias
Hi Rahul, You are missing my point. Why are you trying to read data out of the DOM when you already have it available in your code? the DOM is your app's output, not its data-source. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and Ang

[AngularJS] Re: node_modules outside the project

2020-04-16 Thread Sander Elias
Hi Shakti, Look into creating a mono-repo. Managing the package.json's is a bit of a manual process (there are helper utils available tho) Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from

Re: [AngularJS] Re: How to maintain a unique ID for Angular Template Element

2020-04-15 Thread Sander Elias
Let me put it otherwise: his code: document.querySelectorAll('table').forEach((elm,i) => elm.setAttribute('id' ,'imnumber'+i) will set a unique id on every table. I don't think that will solve your issue. You probably need to set it to something that conveys's meaning to the table. I think you

[AngularJS] Re: How to maintain a unique ID for Angular Template Element

2020-04-15 Thread Sander Elias
Hi Rahul, Id's need to be unique, but HTML isn't enforcing anything. But even when the id is unique, how are you going to know that for your `document.getElementByID('unique')` because if it is unique it will never be the same? You need to know a bit more about a page to get a certain table out

[AngularJS] Re: how to solve deprecated request error while creating an angular app on windows

2020-04-13 Thread Sander Elias
Hi Fayik Look into dynamic import(...).then(...) as that is the direct replacement -- 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

[AngularJS] Re: [Angular] Multiple Root Components vs Single Root Component

2020-04-13 Thread Sander Elias
Hi Vivekanand, The downside of that would be a bit more memory pressure. As each will be an app on its own, it has to house the injector tree for that app, and all that comes with it. I don't believe performance will be affected too much. Use cases would involve Angular Elements. and "widgets"

[AngularJS] Re: Load a module immediately when the app starts

2020-04-07 Thread Sander Elias
Hi Robert, Your initial payload will be bigger, but all things auth will load from the get-go without slowdown. So it is up to you what you prefer. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscr

[AngularJS] Re: In-Page Anchors reload to application's Home page - how do I fix this?

2020-04-07 Thread Sander Elias
Hi Carolin, The app must support this in their settings (more or less) if this is taken care of those links works just as they do in HTML. They might need to do a little bit of rewriting but nothing major. It should not take half a day. Regards Sander -- You received this message because you

[AngularJS] Re: Load a module immediately when the app starts

2020-04-07 Thread Sander Elias
Hi Robbert, Then don't load is lazy, just use it as a normal module. 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 email to angular

[AngularJS] Re: How can we allow users to add custom logic to Angular form?

2020-03-31 Thread Sander Elias
Hi Paras, You can use the typescript compiler from within your code, and capture the results 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,

[AngularJS] Re: How can we allow users to add custom logic to Angular form?

2020-03-31 Thread Sander Elias
Hi Paras, With current browsers supporting the `import()` it becomes even easier, and you don't need the eval anymore. Just provide the script from an API endpoint that sets the content-type to the correct mime-type. you can then use the default export as the entry point. something like: impor

[AngularJS] Re: How can we allow users to add custom logic to Angular form?

2020-03-31 Thread Sander Elias
Hi Paras, Yes, but typescript needs to be compiled, so you need to compile it before you can use it. Compile, save the result to a text field, and you can eval it into action whenever you need it. When you dave the className into a separate text field, you can instantiate it on request. Just ma

[AngularJS] Re: How can we allow users to add custom logic to Angular form?

2020-03-31 Thread Sander Elias
Hi Paras, There is no safe way to do this. This is only possible when the people using and creating the forms are trusted. (an intranet app inside a corporation might adhere to that). With that out of the way, you can actually store JS functions into text fields, and use eval to activate them

[AngularJS] Re: Load different set of routes if user is on domain and different if not on domain

2020-03-31 Thread Sander Elias
Hi, Interesting issue. Assuming the log of the result gives the expected result. Have you tried it with loading a couple of different components to see if that works? Also, I would add a `console.log` to the loaded modules constructors, so you can see if they are loaded, to begin with. Regards

[AngularJS] Re: How to use LDAP authentication in Angular 8

2020-03-31 Thread Sander Elias
Hi Luckey, The LDAP client you listed is not suited for use in a browser. It is a nodeJS only library. As far as I know, the LDAP protocol is not accessible from web-browsers. On the protocol level, so there is no way to access it directly from the web. Regards Sander -- You received this me

[AngularJS] Re: Google Cloud Angular App Hosting 401 Error on Hosting

2020-03-31 Thread Sander Elias
Hi Rakshit A 401 is a permissions error has nothing to do with CORS. Are you sure you did set the right permissions to the assets folder? The Access folder should have public read and list permissions. Regards Sander -- You received this message because you are subscribed to the Google Groups

[AngularJS] Re: Passing data between different angular apps

2020-03-02 Thread Sander Elias
Hi Austin, If you are on version 9 or later, you can use a shared service. Angular 9 provides a way to share an service between angular 9+ apps on the same page Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group

[AngularJS] Re: trigger disabled from a javascript function

2020-02-27 Thread Sander Elias
Hi Jonathan I suspect You can do this in your js: verticalSlider1.options.disabled=true; 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

[AngularJS] Re: Angular Universal with PHP

2020-02-27 Thread Sander Elias
Hi Lukas, I looked into this a bit. I don't think there will be a short term solution. v12 seems optimistic for this feature to land. That is my personal opinion tho, as there seems no official one. Regards Sander -- You received this message because you are subscribed to the Google Groups "

Re: [AngularJS] Re: module not found can't resolve

2020-02-26 Thread Sander Elias
Hi Eric, Nodemailer is a server-side module only, so you can't use that in your frontend. use import as a function, something like this: import('mailgun-js').then(mg => { const mailgun = mg({apiKey: api_key, domain: domain}) /** do your stuff in here */ } Regards Sander -- You received this m

[AngularJS] Re: module not found can't resolve

2020-02-23 Thread Sander Elias
Hi Eric, Try using `import(..).then(mg => {})` instead of require. Tha t will trigger the tooling to make a package that is distributed to the client. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsub

[AngularJS] Re: Conditional lazy load modules.

2020-02-19 Thread Sander Elias
Hi Armen, You shouldn't. What is it you try to accomplish? 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 email to angular+unsubscr.

[AngularJS] Re: differenciate refresh and browser close event in angularjs

2020-02-13 Thread Sander Elias
Hi Viswanath, It is one and the same event, so there is no way to differentiate. As a refresh in a browser is actually the same as closing and opening the same site. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion"

[AngularJS] Re: Angular Pub/Sub

2020-02-05 Thread Sander Elias
Hi Seagu, I have in most off my apps something like this: import { Injectable } from '@angular/core'; import { Observable, ReplaySubject } from 'rxjs'; import { filter, pluck, share } from 'rxjs/operators'; /** available types. */ export enum MsgBusType { /** use for generic/one-off messages */ G

[AngularJS] Re: How to implement While loop inside RXJS subscription in my angular code

2020-02-04 Thread Sander Elias
Hi Rj, I don't have the time right now to rewrite your code. However, subscribing inside a subscribe is a big antipattern and should be avoided. What you need is to make it a rxjs flow that uses composition. the following is just a idea, not working code: function demo() { const url1 = ''; const

[AngularJS] Re: Angular Cors error

2020-01-24 Thread Sander Elias
Hi Felipe, Put a proxy in your production server. Most servers have configuration options for this. 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 fr

[AngularJS] Re: Angualr JS 1.x after official support end

2020-01-23 Thread Sander Elias
Hi Coder30101995 The official support from Google is going to end, but I'm reasonably sure there will be some other parties that will pick up adding some support for the AngularJs branch. As it is an open-source project, everyone is free to create a fork and start supporting it. That being said

[AngularJS] Re: Shortcut for passing child as template to parent

2020-01-17 Thread Sander Elias
Hi Frabbit, That makes sense, as you should be doing something like: @ContentChild(myTemplate, { read:TemplateRef, static:false }) myTemplate: TemplateRef; and inject myTemplate in the constructor. Regards Sander -- You received this message because you are subscribed to the Google Groups "An

[AngularJS] Re: Shortcut for passing child as template to parent

2020-01-17 Thread Sander Elias
Hi Frabbit, Yes, not a problem. You can do something like this: ... and the div will end up in the template. 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

[AngularJS] Re: problem with promise

2020-01-17 Thread Sander Elias
Hi Samir, Yes! That is an answer, I'm not sure about your question, so it might even be a fitting answer ☺ Perhaps you can share some code, so it is more clear what you are asking? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and Angular

[AngularJS] Re: AngularJS1.6.2 - IE9 compatibility slow rendering for Translate Provider Static File Loader

2020-01-04 Thread Sander Elias
Hi Raghu, We really should have stopped supporting IE years ago. However, 40 seconds is unacceptable. You should file an issue that includes an reproduction on the AngularJS githib. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and Angul

[AngularJS] Re: [Angular] Missing module Cannot find module './lib/expand'

2020-01-03 Thread Sander Elias
Hi Jamester, You probably need to copy in this library from wherever this project is hosted. 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,

[AngularJS] Re: How to get flag for every country based on code ?

2020-01-02 Thread Sander Elias
https://www.google.com/search?q=flags+of+the+world+api&oq=flags+of+the+world+api&aqs=chrome..69i57.3748j1j1&sourceid=chrome&ie=UTF-8 -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop rece

[AngularJS] Re: how to fill locations with colored circles with angular 7 ?

2019-12-31 Thread Sander Elias
Hi Ahmed, Do yourself a favor, and work through the getting started . Most of your questions are answered there. When done with that, do read the documentation of the library you use for your google maps. After you have done that and still have questions, create a sta

[AngularJS] Re: How to collect all latitude and longitude from foreach loop on one variable after loop finish?

2019-12-31 Thread Sander Elias
would that work for you? -- 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

[AngularJS] Re: Angular 7 Validate current card but not other cards in the form

2019-12-31 Thread Sander Elias
Hi Gina, It is really hard to help you if you don't give us a sample what you are trying to do. Please use stackBlitz to create a sample. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from t

[AngularJS] Re: [angular.js] Handling HTTP 304 Not Modified status when loading templates

2019-12-31 Thread Sander Elias
Hi Guoshun, It seems like a bug in your server, and still not something AngularJs can fix fr you. I'm pretty sure there are settings for the server that can fix this. Another way to do cache-busting is to add a hash to every request. But that makes things more complex. Regards Sander -- You

[AngularJS] Re: How to allow a user to add Javascript to a form

2019-12-31 Thread Sander Elias
Hi Mark, Look into formly (it might had a different name for the AngularJs version) 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 e

[AngularJS] Re: How i do LDAP authentication in Angular6

2019-12-31 Thread Sander Elias
Hi Valluru, LDAP is not working over the HTTP protocol, so it's out of reach to the browser. You need some server-side solution for this. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from t

[AngularJS] Re: Angular and stripe checkout configuration

2019-12-03 Thread Sander Elias
Hi Fofa, I need a bit more context. Can you provide the entire error? Also, point out what lines are failing. I have seen and fixed this error before, but don't recall the details. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and Angula

[AngularJS] Re: Uncaught SyntaxError: Unexpected token '<'

2019-12-03 Thread Sander Elias
Hi Asad,v I suspect your server does not return the JS files but instead serves the index.html. Open up those files from your browser, and see what the content is. Probably a misconfiguration, or not copied all the distribution files over. Regards Sander -- You received this message because y

[AngularJS] Re: Please tell me some vendors who provide multi-factor authentication for Angular5 application.

2019-11-29 Thread Sander Elias
Hi, Auth0 has a good offering. If you are up to it, you can use google auth, but that is more work to implement. 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 receiv

[AngularJS] Re: Provide viewing and editing of word document in angular application.

2019-11-20 Thread Sander Elias
Hi Manoj, There is a fully working word available online, I'm pretty sure MS made some integrations possible there. Have a look at the Offcie365 API. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubs

[AngularJS] Re: Provide viewing and editing of word document in angular application.

2019-11-19 Thread Sander Elias
Hi Manoj, You can integrate with office365, and use the online version of Word to display your documents. A simpler way might be to use the MS word viewer in an iframe using this as an url: https://view.officeapps.live.com/op/embed.aspx?src=http://remote.url.tld/path/to/document.doc' Regar

[AngularJS] Re: File Upload with Protractor - Google chrome Version 78.0.3904.97

2019-11-17 Thread Sander Elias
Hi Karim, Thanks for sharing! 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 email to angular+unsubscr...@googlegroups.com. To view

[AngularJS] Re: detectChanges variable component

2019-11-16 Thread Sander Elias
Ok, so at least the value is arriving in your component. I would need to see some more code, because what you have shown does not cover the cause of your problem. Can you explain to me why there is a 'var' keyword there? -- You received this message because you are subscribed to the Google Group

[AngularJS] Re: File Upload with Protractor - Google chrome Version 78.0.3904.97

2019-11-15 Thread Sander Elias
Hi Karim, Can you upload a file outside of the testing? 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 email to angular+unsubscr...@

[AngularJS] Re: What is the best possible way for rotating a base64 image data for multiple images in Angular?

2019-11-14 Thread Sander Elias
Hi Ragu, Use css transform rotate. 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 email to angular+unsubscr...@googlegroups.com. To

[AngularJS] Re: detectChanges variable component

2019-11-13 Thread Sander Elias
Hi Raffaella, Does it log out the updated data to the console? 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 email to angular+unsub

[AngularJS] Re: FormArray controls not accessable inside the FormBuilder

2019-11-11 Thread Sander Elias
Hi Rahul, If there is something in your amenities, your sample just works. If the array is empty, it will show nothing, which is exactly the point. I did put some sample values in there, and that did it: https://stackblitz.com/edit/angular-7zdbdd?file=src/app/hotel-edit/hotel-edit.component.ts

[AngularJS] Re: FormArray controls not accessable inside the FormBuilder

2019-11-10 Thread Sander Elias
Hi Rahul, When you have a question like this, it's easier to get an answer if you provide a StackBlitz or something similar. 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

[AngularJS] Re: Using Angular for UI as a service

2019-11-07 Thread Sander Elias
Hi Pradip, Angular is just as suited as any other framework. It is not a silver bullet tho. Can you tell me a bit more of what you need/expect, that way I can provide you with a more suited answer? Regards Sander -- You received this message because you are subscribed to the Google Groups "A

[AngularJS] Re: error display after compile successfully prevent show browser angular 7 ?

2019-11-05 Thread Sander Elias
Hi Ahmen, Without knowing any versions, of anything you use, and without source it is hard to help you. A wild guess would be, remove the `node_modules` folder and do an `npm install` an try again? Regards Sander -- You received this message because you are subscribed to the Google Groups "

[AngularJS] Re: metronic template

2019-11-05 Thread Sander Elias
Hi Artur, I checked out metronics, it seems to have an authentication build in. You should ask this question in their support system, as it is bound to their way of doing things. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJ

[AngularJS] Re: Can `ng new` boilerplate be cross-OS?

2019-10-31 Thread Sander Elias
Hi Gabriel, I know for a fact that project Generated on one OS will work without a hitch on others. I'm working with a team that has a mix of Linux/windows and mac computers, and we all work on the same projects. Can you explain where you are referring too? Regards Sander -- You received this

[AngularJS] Re: When make login and refresh or reload page after login it come back to login page ?

2019-10-30 Thread Sander Elias
Hi Ahmed, You should store the token in localstorage or a cookie or something, and pick that up on app-start 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

[AngularJS] Re: Caching of Angular components

2019-10-29 Thread Sander Elias
Hi Manoj, Have a look at how ngIf works, and build your own structural directive to handle your use-case. 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 ema

[AngularJS] Re: On click event, an item in a list should change its style

2019-10-29 Thread Sander Elias
Hi Luca, Look up `ngClass ` 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 email

[AngularJS] Re: I am getting error Schema validation failed with the following errors: Data path ".builders['browser']" should have required property 'class'.

2019-10-29 Thread Sander Elias
Hi Rajneesh, There is not enough context to provide you even with the beginning of an answer. 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,

[AngularJS] Re: How much data should web service return?

2019-10-29 Thread Sander Elias
Hi Nhut, There is only one answer. It depends. On the size of the data, On what kind of clients, on expected network speed, and on tens of other things. Usually, I look at the complete size of the returned data. if that's <100Kb I just pull everything all the time. However, this is not a hard ru

[AngularJS] Re: How to Create js for angular element so that it can be used in any project

2019-10-29 Thread Sander Elias
Hi Nishith, I thinks this is a good starting point: https://www.softwarearchitekt.at/aktuelles/your-options-for-building-angular-elements/ Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from

[AngularJS] Re: Angular 2+ and Redux

2019-10-23 Thread Sander Elias
Hi Hervé, There is no need for native redux in an Angular app. It solves a problem Angular doesn't have. However, as often in our trade, some things are hype-driven. There is never a real need for redux in an Angular app. Still, there are benefits. When you are in a large mixed team, redux make

[AngularJS] Re: how to use asycn pipe on a promise

2019-10-23 Thread Sander Elias
Hi Hervé, Can you please elaborate on that? The entire Angular team, and NG-RX team, and almost all people I know are advising the async pipe as best practice. (I'm including myself here!) But millage can vary, so I'm very curious to hear why you think it's a bad practice. Regards Sander --

[AngularJS] Re: Best ways to send large images ie. more than 20mb file size to server from angular

2019-10-23 Thread Sander Elias
Hi Raghu, Look around on the internet, something like http://www.resumablejs.com/ comes to mind. You can also build something like that yourself if you like. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. T

  1   2   3   4   5   6   7   8   9   10   >