Questions tagged as 'angularjs'

1
answer

Iterar json with Angular2

I am trying to iterate the json resulting from a call but I can not find a way. The json I read it in the following way: return this.http.get('http://localhost:4200/traerDatos.php').map(res => res.json()).subscribe(result =&...
asked by 01.06.2017 / 11:07
1
answer

Problem with angularjs?

Use angularjs 1.2. Within this code there is already content of angularjs, both in the initialization in the header, I have also declared ng-app and ng-controller , in addition to the zone of beginning of session are added ng-mod...
asked by 27.07.2017 / 22:22
1
answer

TD fixed in ng-repeat

I have the following: my app.css .fijar-headcol { position: absolute; background-color: white; display: flex !important; width:100px; } my index.html <div style="height:500px; overflow: auto;"> <tr ng-repeat="dat in...
asked by 19.11.2018 / 10:29
1
answer

Uncaught SyntaxError: Unexpected token using $ http.get ()

I am trying to get a list through a url using the GET method, but it generates a very confusing error, since it is the first time I see it. Uncaught SyntaxError: Unexpected token . He tells me that I have the error in the next line...
asked by 29.10.2017 / 23:03
0
answers

Conflict with the SQLite plugin when implementing Crosswalk

I have a problem when trying to implement the SQLite plugin from the official ngCordova website, and I can not find out what it is; In the browser console I do not see any errors when I start the application using ionic serve , only when you...
asked by 05.04.2016 / 18:18
1
answer

Keep an active session with front-end angularjs and php backend [closed]

I am developing a SPA application in angularjs and the backend is done with PHP. The problem is when a user does not use the application for some time and the session expires. At that moment the request is made to the backend and since I am savi...
asked by 14.03.2017 / 02:36
0
answers

Double Routing | Angular 7

I'm doing an APP with administration panel but I would like the administration area to have its own system of routes that work from the / admin url and the web section has another route system, having a total of 2 routes systems. I do not kno...
asked by 31.12.2018 / 13:06
1
answer

In angle 2, how to obtain / regenerate an image stored in database? [closed]

I have a backend made in java where I persist images in a psql database using hibernate, the images I am saving in with the data type Byte []. On the other hand I am developing a client application in angular 2, with this client application I ma...
asked by 23.09.2017 / 00:22
1
answer

Is it possible to inject a provider / dependency into an Angular constant?

We are creating a constant in our project developed with the help of AngularJS, this in order to avoid repeated code. However, the question arises whether it is possible to inject a provider or dependency within that constant, and the question a...
asked by 30.08.2016 / 17:17
1
answer

View information from a json with angular

I have a json created with information that I want to visualize on the page with the use of {{}} and to do this I use the Http module and a service, but for this I have to add in the header constructor and the footer (which is where I want to vi...
asked by 06.12.2017 / 03:20