Questions tagged as 'angularjs'

1
answer

-AngularJS- Uncaught TypeError: Can not read property 'substr' of undefined

It is my first application using AngularJS on the client side and I am doing a dashboard that the user must previously access "logging in." My problem is not with the login , but with the way to recover the current user who is using the appl...
asked by 01.06.2017 / 16:07
0
answers

help to manipulate a ngValue

I have an element where I want to send the full score for the value, but if I pass the corresponding date I want to send half the score, how do I have to do it? please and thank you <input type="checkbox" name="puntuacion.puntos" ng-value=...
asked by 08.06.2017 / 23:23
0
answers

Webpack Dev Proxy server does not redirect to my api backend

I'm trying to redirect the routes " link " to " link " where an Apache server runs. This is my webpack dev server configuration: devServer: { publicPath: '/build/', port: 3000, proxy: { '/api': { target: 'h...
asked by 05.05.2017 / 20:19
2
answers

How to separate my factory in another .js file?

my question is this, I'm learning AngularJS, and I'm doing the code for a login, where I've done factory's, but everything is in the same file (app.js) as shown below: '(function () {     var app = angular.module ('login', ['ngStorage']); /...
asked by 05.05.2017 / 16:13
1
answer

Does not load Angular Js correctly in internet explorer

I have the following problem when wanting to load a url in internet explorer. when loading my page with angular 1.5 in mozilla, normal load. then I copy the url of my page in mozila and I paste it in internet explorer this shows the html without...
asked by 11.05.2017 / 22:05
2
answers

How to configure frontend routes with AngularJS and an ExpressJS server?

Good morning, I am currently setting up a SPA application, where I want to manage all the routes with AngularJS and that the Express routes are only for API, the problem I have is that if I configure the Angular routes for example: http://l...
asked by 18.04.2017 / 18:38
2
answers

Call method every so often

My app.js $scope.leerProductos = function() { InitService.leerProductos().then( function(d) { $scope.productos = d; } ); }; My html: <div ng-init="leerProductos()"> <div ng-repeat="pro...
asked by 10.04.2017 / 09:13
0
answers

How to use this token to validate the start of the session, AngularJS?

I am currently controlling the login with a WebService in laravel using the following library: JWTAuth Here is the method in laravel: public function userAuth(Request $request) { $usuario = $request->input('usuario'); $pa...
asked by 09.04.2017 / 08:22
1
answer

Different content according to url, angularjs [closed]

I would like to know what is called or how the functionality is done, by means of the url controlling the content, for example something like facebook, which manages the profile from the url: www.facebook.com/perfil.persona and in base to profil...
asked by 21.04.2017 / 23:14
0
answers

Angular UI-ROUTE does not load table style

I'm using Angular UI-ROUTER but it does not load the styles of the table in one of the sections (In that section I am using Bootstrap Table ) index.html <!DOCTYPE hmtl> <html> <head> <meta charset="...
asked by 23.04.2017 / 05:57