Questions tagged as 'angularjs'

0
answers

return object returned from the database to the front end

I'm not understanding why these returns On server node.js: //Insert user router.post('/', async function(request, response) { let object = { name: request.body.userName, password: request.body.userPassword } le...
asked by 23.05.2018 / 03:10
1
answer

Angular ng-repeat asynchronous

I'm using Angular 1.6.10 to show the data of an API, as the search of the data is asynchronous, I believe ng-repeat is executed before the data is loaded: angular .module('appDataPOA', []) .controller('controllerDataPOA', async funct...
asked by 19.05.2018 / 19:01
0
answers

Error 500 laravel on request ajax

Form: <div class="modal-body"> <form name="frmEmployees" class="form-horizontal" novalidate=""> <div class="form-group"> <div class="col-sm-5"> <label class="col-sm-3"&...
asked by 10.05.2018 / 17:14
0
answers

No Access-Control-Allow-Origin header is present on the requested resource. - MEAN STACK

Hello! I need to pass a string to the node and I'm getting the following response from the browser console: Failed to load http://localhost:3003/api/buscarCep: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origi...
asked by 09.05.2018 / 02:42
1
answer

Is the writing of this function correct?

I made this function so that it takes a request from js and at the time of entering the name of a category, give a select in the database, check if the name already exists and if it returns 0 in the count, it will write. > You are recording, b...
asked by 08.05.2018 / 16:13
0
answers

Where can I find ng-webcam documentation (AngularJS)?

I'm working with a simple application using AngularJS that makes use of the webcam. To work with this I'm using dependency "ng-webcam", but I'm not sure how to use it. I searched on some sites, but nothing that really helped me. Does anyone know...
asked by 05.05.2018 / 15:55
0
answers

What do I do in GIT with the Scripts folder of an AngularJS project in Visual Studio 2017?

I'm doing a project with the FrontEnd in AngularJS. I created the repository in git, and I noticed that the Scripts folder had many JavaScripts from AngularJS and also from Bootstrap that I installed in the project through NugetPackages. I...
asked by 06.05.2018 / 01:49
0
answers

Change the default value of ui-select according to variable using AngularJS

I have the following ui-select in HTML: Everything is working fine, but if the value is already filled in the variable, I need to select the option that is already filled as default. If you do not have it, it should appear as it is app...
asked by 10.05.2018 / 20:02
1
answer

Angular Route JS does not open in page load

I have a template and two routes, none open on page load (or F5), but if I make a $ state.go ('RotateName '), it loads properly. // routes.js angular.module('app').config([ '$stateProvider', '$urlRouterProvider', '$locationProvider', function...
asked by 09.05.2018 / 21:11
0
answers

Expect 2-3 arguments, but have 0. Ionic 2

I'm developing my first application in ionic 2, and I came across this error. I like to organize my program, so I created some templates ... I'm trying to create my page to add / edit a task in a list. Template: 'import {EstadoTarefa} fr...
asked by 01.05.2018 / 07:29