Questions tagged as 'angular'

0
answers

Ionic, service, how to create a task

I would like to know if it is possible to create a service in ionic, that is running even with the app in the background and that at certain times execute a method as if it were a setTimeout but always active.     
asked by 18.04.2018 / 15:54
0
answers

Disable rebuild

Does anyone know how to disable the rebuild that the angle makes in the whole code at every file modification when using ng serve so that it is possible to change the code, save and view the result in the browser only with the refresh of...
asked by 13.04.2018 / 02:14
0
answers

How to include Javascript metadata in angular 4?

Look at the code below; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) There are two metadata called templateURL and styleURLs. templateURL reference to './app.componen...
asked by 20.04.2018 / 12:49
1
answer

Angular and Spring System for homologation

We have a VM in the azure. I generated the homologation build and put it on the server. Generated the files and index.html so <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>DESIF&l...
asked by 20.04.2018 / 00:47
0
answers

My lightbox module that I inserted in the Angular does not work, how to do it?

Well I've installed this Lightbox module with the command npm install lightbox2 --save as per the site: lightbox until then. p> After I put the paths in the file angular-cli.json according to examples that I searched the net and looke...
asked by 13.04.2018 / 14:14
1
answer

How do I wait for the result of a query in the Firestore?

My problem is this: I have a component that will list some categories, example: categories: Observable<any[]>; ngOnInit() { this.categories = this.categoryService.getAll(); } In the service I need to query the user first (to g...
asked by 18.04.2018 / 04:19
0
answers

VSCODE console error

I have this error in VSCODE . ERROR in src/app/paginas/arquivo/arquivo-form/arquivo-form.component.ts(93,20): error TS2339: Property 'total' does not exist on type 'HttpEvent<{}>'. Property 'total' does not exist on type 'HttpSentEvent...
asked by 11.04.2018 / 12:25
0
answers

Empty post post - problem with file reader

Hello, I'm developing in an application using angular 2. I use dropzone.js to upload files. The problem is this: When I load the files directly from dropzone to an array of files, as in the code below: this.showUploadFileNotAllowed = false;...
asked by 04.04.2018 / 20:09
0
answers

RangerError: stack size exceeded because of very large directory

I'm developing an application with Angular.io and VideoJS I want to insert the VideoJS repository into a lib directory in my Angular project, to make development easier. The problem is that the Webpack of the Angular project can only c...
asked by 05.04.2018 / 20:52
0
answers

IONIC + FIREBASE - list and sublists

Ihaveadatabaseexactlyinthatformat.InmyIONICIhaveafirstlistthatshowstheitemsLISTA01andLISTA02.Byclicking,forexample,LISTA01willopentheSECTORSpagewhereitwillshowanotherlistcontainingtheitemsSETORES01,SETOR02,SETOR03ofitemLISTA01IntheSECTORSpage,h...
asked by 03.04.2018 / 22:38