Tagged Questions
0
votes
1answer
16 views
Value not passing to view in angularjs
I am trying to display a value in angularJS and cannot figure out why it won't print.
I have defined the variable as $scope.totalBTC, and calling it with {{totalBTC}}. Seems straight forward but I ...
0
votes
0answers
24 views
Angular POST route not connecting to Nodejs for Stripe integration
I'm integrating the Stripe checkout in my web app. I've implemented Stripe checkout on the angular front end and have also created a backend that is supposed to receive the token passed by stripe ...
-1
votes
0answers
14 views
How to show modal in nodejs with angular 1.6?
I want to show a modal of boostrap which loads another form with angular
Then I leave my code in nodejs
App.js node
app.get ('/nuevoinf/:id/:study', isLoggedIn, function(req, res){
var id = ...
0
votes
2answers
25 views
Return object shows up in the front end but wont push to the back end
Alright, I feel like an idiot because I've done this a thousand times... But I've been battling this for over an hour and about to head to lunch. I'm hoping someone can answer by the time I get back :)...
1
vote
2answers
17 views
Cannot find module 'ejs' on opentok sample
I am following this guide:
https://github.com/opentok/opentok-node/tree/master/sample/HelloWorld
The project compiles fine, but when I start, I get this error:
Error:
> Error: Cannot find module ...
-2
votes
0answers
13 views
How to deploy a MEAN stack project into AWS when the front end and the back is in two different repositories? [on hold]
It is a simple single page web application. the back end runs on localhost port 8000 and the front end on localhost:8080. I'm using express on frontend and backend both to create the servers. I need ...
0
votes
0answers
10 views
Dynamic form and date format in angularjs and node js
I hope you can help me I have some doubts about nodejs and angularjs, I'm just starting with this,
I am doing a project in nodejs with angularjs and I found this example of a project
Http://www....
-2
votes
0answers
14 views
How to import excel data into html table in AngularJs & NodeJs?
I have an excel datasheet which contains product details such as(ProudctId,Category,Name,Price) and I need to get excel data
it shows in a html table and also insert it into mongodb using nodejs.
0
votes
2answers
23 views
How to use $ http.get () of angularjs 1.6 with url with parameters
I'm using nodejs and angularjs but I do not understand how to get the data from nodejs to angular, I'll leave my code here
App.js angular
Var myApp = angular.module ('angularTodo', ['angularUtils....
0
votes
0answers
17 views
MEAN Stack javascript condition comparing user input and data from db
I'm trying to make a condition where if user's input is the same, then it will certain function, if not it will run another function. Just like this:
do {
for (var i = 0; i < products....
0
votes
0answers
10 views
Download file NodeJS with ExpressJS and AngularJS
I'm trying to make a file downloadable but it's not working, could you tell me where is my mistake ?
Server-side :
app.get("/telechargement/propt", function (req, res) {
var propt = [];
...
0
votes
1answer
14 views
Nodejs send multiple results with the same res.json
I have a large nodejs controller doing a lot of mongodb work, and I want it to send several different json results back to caller (my angular controller).
findAllBanks
.then(findAllReceipts)
....
0
votes
1answer
20 views
how to use session to log out automatic from a pc when the user is logged in another pc
I am using nodejs, angularjs and session to build my site, I want the user to log in just one pc at a time. That means,if the user is logged in the pc A, and then he log in the pc B, the pc A will ...
0
votes
0answers
14 views
Delay in checking ng-hide and ng-show to hide register and login button after logged in
I made a website and deployed it to heroku at https://hydroponics.herokuapp.com/#/ . Problem is when you refresh the page, it will appear a purple button Hello! {{userLogin}}. It is the button that I ...
0
votes
1answer
14 views
Loopback mysql and facebook login understanding
I new to loop-back platform. I follow this tutorial loop-back official tutorial for third-party and this tutorial also a tutorial that i find.
What i want to do is to build a rest API using loop-back ...
0
votes
0answers
12 views
MEAN Stack Tutorial Help, Adding User Profile Functionality [on hold]
I'm completing this tutorial https://thinkster.io/mean-stack-tutorial/ and have made a few changes in order to create more of a blog site. The only thing I need now is to be able to do now is add ...
0
votes
1answer
38 views
AngularJs Error: [$injector:modulerr] by ngRoute?
Probably a dupicate (Failed to instantiate module error in Angular js) but the given measures (including ng-route in HTML didn't solve the problem).
This is the error:
Uncaught Error: [$injector:...
1
vote
1answer
30 views
res.send() not working in node
I am using promise and sending the response but with in the .then() function I can't send the response using res.send();
My code is
var express = require ('express'); //EXPRESS Package
...
0
votes
1answer
20 views
How do I resolve Webpack/Angular moduleId error?
I built an app that borrows heavily from Dan Wahlin’s Angular-Jumpstart app, It works when I run it using his ‘npm start’, which looks like this:
"start": "tsc && concurrently \"tsc -w\" \"...
0
votes
0answers
23 views
Angular command issue - “ng” command not recognized as internal or external even when is in PATH Environment Variable
I have this problem... for some reason yesterday all my commands (ng, npm, node, etc) were working fine, but at night I cleaned my PC from trash files and all that (my pc has Windows installed), and ...
0
votes
1answer
14 views
How to send an email to a specific recipient from a HTML form and add it to a html table as a record?
<!-- Placeorder part -->
<div data-ng-show = "isPlaceOrder">
<div class = "col-lg-10" style = "margin-top:80px">
<div class="panel panel-primary">
...
0
votes
0answers
25 views
node js app works locally but display weirdly on heroku
solved
I've got nodejs app that works fine locally
how it's suppose to look
but when run with heroku all I've got was angular braces
Total Registered Devices : {{deviceCount}}
{{ device.deviceName }...
2
votes
0answers
65 views
Angular doesnt load external scripts in ng-view
Hi i try to create simple web app. Firstly i created my first page and when i loaded it on my computer without node everything was fine. The problem appeared when i put it into node server(on ...
-1
votes
0answers
9 views
Billdesk payment integration in angularJS
Am working in MEAN Stack platform. I want to integrate Billdesk payment gateway in angularjs. please if anyone know the logic or having sample code, help me.
0
votes
0answers
23 views
How to build Web Application using real time API
I want to build a Web site which need to be updated every minute by 4 different API's (for example:Twiiter,Facebook...) and display the Real Time information to users.
My frameworks are:
Server - ...
0
votes
2answers
20 views
node.js nested http req object undefined - bodyParser.urlencoded({ extended: true } not working
why is the nested object
kategorien : [Object]
undefined in my node.js app?
Here is the console log from the console.log in the katalogCtrl:
{ _id: '591c08ccb673741787b123c2',
...
0
votes
1answer
22 views
Getting an Internal server Error when trying to post product with angular Js (MEAN Stack)
I really need some help. I'm facing with an Internal Server error when i try to add product through http service ($http.post) in angular js. So basically, the files you need to help me to get out from ...
0
votes
1answer
30 views
angularjs http request to nodejs api
With NodeJs I have set up an API which works (I can see the JSON result in my Browser). In Angular I have a socket.io chat which runs via http on port 3030. I am also running an apache server (with ...
0
votes
1answer
40 views
Error: Error: No NgModule metadata found for 'AppComponent'
I am trying to use Django with Angular2. I have a working Django project. I am getting this error while trying to use Angular2 with it:
Error: Error: No NgModule metadata found for 'AppComponent'.
...
0
votes
1answer
20 views
Angular 2 UNMET PEER Dependency Error on Windows 10
I am trying to run my web application on a Windows 10 Machine with the package.json (given below). I have Node version 5.6.0 and Npm version 3.6.0. But unfortunately it's always throwing an UNMET Peer ...
0
votes
0answers
13 views
angularjs service to load image base64 from backend file
I have a function in my service that has an image variable:
(function () {
'use strict';
angular
.module('my-app')
.service('myService', myService);
/** @ngInject */
...
1
vote
1answer
29 views
passport.authenticate is not working
File router.js contains the routers that are used.
In the ionic2, providers are made with the post method by giving uri as http://localhost:8080/api/auth/login which gives 400 bad request error in ...
0
votes
1answer
36 views
Sequelize how to use association table?
I'm having an issue with Sequelize because I don't know how to approach the problem.
I have 3 tables : A (game), B(platform) and AB (game_platform).
A can have 1 to many B and B can have 0 to many A.
...
0
votes
3answers
45 views
Error: $injector:modulerr Module Error / Angular service
I'm new to angular and I'm having this issue :
angular.js:38 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.6.4/$injector/modulerr?p0=serviceApp&p1=Error…ogleapis.com%2Fajax%...
0
votes
0answers
30 views
URL access in angularjs 1 [on hold]
I am using angularJs ngroute and one of my url is "localhost/users/profile/123", the 123 is user id or may be the username,
The issue is I can not check the current user from URL in the route, page ...
0
votes
1answer
44 views
Not Found Error in NodeJS
I am new in NodeJS and I am trying to build an ecommerce application. I have readymade design and all the front end things with angularjs code. If I'm clicking on any menu then the page content ...
0
votes
0answers
16 views
Routing requests to dev urls from Node server
I have angular spring application which needs Weblogic to be started to test a simple UI changes so i want to host UI on Node server and route all the server requests to the development server URLs. ...
0
votes
1answer
21 views
pass the value attribute into (click) attribute within HTML tag
I have the following HTML template:
<form #topping (change)="updateTopping(topping)">
<span *ngFor= "let top of toppingOptions">
{{top.name}}
{{top.price.toFixed(2)}}
...
0
votes
1answer
8 views
angular.js and require js together
I'm creating local app on nw.js with using angular.js. And i feel that i do something wrong, when in my controller i write something like this:
.controller('UserSettingsCtrl', function($scope, $...
0
votes
2answers
29 views
I can't seem to use npm, git and node on my system
I'm running a Windows 10 machine. I have tried to install node and git but whenever I try using git or npm it just return the user pointer back.
WindowsPC MINGW64 /c/Angular
$ git clone https://...
0
votes
1answer
25 views
How do I deploy a NodeJS project as an API
I would like to know the appropriate way to deploy a Node server/api on Heroku so that both my Angular web app (also hosted on Heroku) and NativeScript mobile app can use the same API.
Can i deploy ...
0
votes
0answers
10 views
angularjs-typescript-webpack-seed doesn't run
I downloaded this boilerplate and I'm trying to run it, but when I go "npm run dev" I get the following error:
TypeError: webpack.validateSchema is not a function
at new Server (/home/node/...
0
votes
0answers
8 views
Cache API and images from backend server in sw-precache with gulp
I'm very new to use sw-precache with gulp in my app. I've created web app done by angularjs and fetch information from our backend nodejs application. At that application, I've added sw-precache ...
-2
votes
0answers
28 views
angular-typescript-webpack doesn't run
I downloaded this boilerplate and I'm trying to run it, but when I go "npm start" I get the following error:
ERROR in ./src/app/index.ts
Module build failed: TypeError: Cannot read property 'exclude' ...
0
votes
1answer
22 views
Getting 404 trying http PUT using Node Express Postgresql
Edit: NEVERMIND - I made a small mistake in the Angular service. My bad.
I'm trying to teach myself more backend by building a simple CMS using angular, Node and Express, and PostgreSql. I figured ...
-11
votes
0answers
54 views
What is the difference between Angular and Angular JS and which version should I use? [on hold]
What is the difference between Angular and Angular JS?
I think I know the answer to this question. I think with the later versions, they just simply dropped the "JS". This is because this website, ...
0
votes
0answers
40 views
post with angular gives error: possibly unhandled rejection
I've just managed to get my $http post working over Angular.where the admin only can make edit for data such gives permission to user to be admin or block user and update the user's description. I ...
0
votes
0answers
29 views
TypeScript output file doesn't get updated after transpilation
I downloaded this seed for an Angular & TypeScript project. I updated the ts files and then transpiled it with no errors, but the output file doesn't get updated.
tsconfig:
{
"...
0
votes
2answers
48 views
TS2307: Cannot find module 'angular'
There are many questions on this exact error. Nevertheless, I cannot find one that fixes my problem. I'm probably missing something simple but I don't know what.
In my project I just created the ...
1
vote
1answer
29 views
How to get a variable from a JS file to a node JS file
So essentially what I'm trying to do is get a variable from my app.js file to my run.js file. The app.js file handles everything client related, and the run.js handles server side stuff. So I've tried ...