Questions tagged as 'angularjs'

1
answer

Returning NaN to function

Hello, I have a form with a radio button, if "Input" is chosen, the form corresponding to the name "Value Output" is disabled and vice versa. I have a function that calculates the sum of the value of the input and output of an element and return...
asked by 17.11.2017 / 19:35
0
answers

Charts using ChartJS, Mongodb and Angular

Good evening, I have the following model: var mongoose = require('mongoose'); module.exports = function() { var schema = mongoose.Schema({ nome: { type: String, required: true }, valor: {...
asked by 08.11.2017 / 00:06
1
answer

Difficulties in doing find () in schema / model mongoose with req.params.field in $ get from http

As the title says, I'm having a hard time making a find() customized in the model / schema of the node, which links to the mongoose. My following correspondence.js file (model): var mongoose = require('mongoose'); var Correspo...
asked by 08.11.2017 / 13:43
0
answers

ng-click and ng-dblclick on same element

<div ng-click = "clickOne()" ng-dblclick = "clickTwo()">Enter</div> JavaScript > $scope.clickOnce = function () { alert("CLick One"); } $scope.clicktwice= function () { alert("CLick two"); } Would some w...
asked by 22.11.2017 / 14:38
1
answer

Select for card expiration

I wanted to make two fields select one for the month and another for the year to use as validity dates of a card, but wanted it to be generated dynamically and that when selecting the year of 2017 for example appears only the months that are mis...
asked by 07.11.2017 / 16:51
1
answer

Problems with AngularJS Promises [closed]

I have the following function in AngularJS : $scope.adicionarContato = function(contato) { contato.data = new Date(); $http.post("http://localhost:3412/contatos", contato).then(function successCallback(response) {...
asked by 29.11.2017 / 22:27
2
answers

NG-REPEAT within NG-REPEAT - ANGULARJS

I have a multidimensional array. To demonstrate it in my view I use a ng-repeat in an ul within another ng-repeat in a li, this way: <ul ng-repeat="section in sections"> <li> {{section.name}} </li> <ul>...
asked by 03.11.2017 / 20:17
0
answers

How to do a reload on a directive with type A restriction?

I have an application in AngularJS that has the following problem: Every time I access my view using: $ location.path ('/ my-url'); Restricted directive of type 'A' simply is not loaded normally. <ui-carrousel {atributos}></u...
asked by 31.10.2017 / 21:05
0
answers

Join tables in AngularJS

I'm really in need of some help from you. I'm currently developing a web app for a multi-module restaurant. In the box module, a <div> is displaying the requests that are open as they show the codes below. Now what I need is...
asked by 30.10.2017 / 21:54
2
answers

PHP Web Service with INNER JOIN

I'm creating API for consumption in Ionic applications, but I'm struggling for 2 weeks in one of these api's, where I relate data in more than one table with inner join. I tried to do as in my php system, where I add the items in the bank, could...
asked by 10.11.2017 / 18:11