0
votes
0answers
11 views

Users sending messages to admin through socket.io

I have a chat application where users send messages to each other(private chat). Now using that i want to create chat application where all the users can send messages to admin individually, how can i ...
0
votes
0answers
21 views

Angular.js Authentication with Node.js

I'm unable to login with front-end might be problem with Angular-ui-Router. When I click on login button first I got an error as 'Possibly unhandled rejection' then I injected '$qProvider' in config ...
0
votes
1answer
20 views

mongoose syntax with user.id connecting to a form

Hi I am new to mongoose and with angular through ionic. I am trying to build an app and having problem with it. I have no Idea if this syntax mongoose is right because it still is not working in my ...
0
votes
0answers
11 views

IBM Bluemix: Serving Angular with NodeJs in Production Devops

I have an Angular app, it is served via a small NodeJs app. I have a Jenkins Job who build my app and package it. The output artifacts are a dist directory with the angular app and the node app.js ...
0
votes
0answers
8 views

Folder dist in local. App AngularJs

Is there any way to deploy and test locally the "dist" folder I've generated with gulp? Usually packaged in the dist folder and deployed in another department. But I wanted to prove from my local ...
0
votes
0answers
30 views

How to run Angular 2 app on docker machine?

I have deployed simple angular 2 app which was created using angular-cli,after building docker image i'm running it on virtual box container app is running on container and exposed to port also but ...
0
votes
1answer
20 views

Angular table and HTML Checked Boxes with Disabling Feature in Remaining Checked Boxes

The goal is to have all the checked boxes become disabled when one box is checked. When I use this jquery code below, for some reason it does not work as it does in the SO solution mentioned here. ...
0
votes
2answers
43 views

Create array of objects in an object - Node.js

In the below code, 'info' object has a description, quantity, value. How to give them as an array(Indo property). How to retrieve in angular code. details.customsDetail.itemDetails = { ...
0
votes
1answer
22 views

Angular error, in npm build [$injector:nomod] Module 'testApp' is not available

Studying and practicing about npm build, im trying to compile my script using npm run build and i got an error [$injector:nomod] Module 'testApp' is not available! You either misspelled the module ...
1
vote
1answer
23 views

AngularJS and NodeJS http-server: rewrite URL

I'm using NodeJS http-server to code an AngularJS App. I'm having a problem. When I try to access directly the url in the browser the Angular does not intercept the URL to show me the content. If I ...
0
votes
0answers
17 views

Inside nodejs application how create a project which is based on angular

I have an application which is developed using nodejs, express, hogan and jquery. Now, I am trying to develop a new module which will be build using angular. I want when I will browse http://localhost:...
0
votes
1answer
13 views

javascripts/lib/angular.min.js after deplying to heroku

I get this error after I deployed my app on Heroku, I have included my project structure? it clearly shows that I have included the files but I get an empty page with the shown error. Any idea why? am ...
1
vote
2answers
34 views

Get data from two http req and combine them

I have two schema in mongoose one for doctors info and two for ranking. my doctors schema : var doctorsSchema = new schema({ Entity: {type:String}, name: {type:String}, Expertise : {type:String}...
0
votes
0answers
18 views

How to solve Unmet peer dependency when I already have higher package versions directly installed?

warnings: ├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY [email protected] ├── UNMET PEER DEPENDENCY [email protected] └── zone....
0
votes
1answer
15 views

How to set Routing in AngularJS to work properly

I have a problem with Routing in AngularJS. I use 1.6.x version and the latest version of angular.route.min.js file. When I click button which should me take to other other view but nothing happen. ...
0
votes
1answer
16 views

How to run child process in Mean Stack

I have an Mean application which uses nodejs, angularjs and expressjs. Here I have called my server from the angular controller as below Angular Controller.js $http.post('/sample', $scope....
0
votes
0answers
20 views

How can i get file stream in nodeJs from file object, using the file input in the html

How can i get file stream in nodeJs from file object. I need to pass this as inputStream to Java service. client: html: <input style="display: none" id="file-input" type="file" image- model="...
0
votes
0answers
26 views

Integrating PayTm web api in nodejs

I am integrating payTm web api in nodejs. I am stuck after generating CHECKSUMHASH Api and verifying checksum hash key. I am rendering page to payTm staging url after verifying checksumkey, but it ...
-1
votes
0answers
17 views

TypeError: fs.xx is not a function

I am integrating a C library into a chrome app codebase that uses AngularJS and NodeJS as well. I am using node-ffi for integration. Though fs package is used at many places in the codebase, it throws ...
0
votes
1answer
69 views

Angular.js: Unable to display user properties in the view using ng-repeat and handle-bars

Angular.js, Node.js, Postgresql app.js: var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = ...
0
votes
0answers
125 views

Angular Router - Using abstract state to access service

Using mean.js: I have a large application that is divided by say, offices. Each office accesses the same application in the same way, but employees of an office may only access information pertaining ...
0
votes
0answers
8 views

heroku error unexpected syntax error deplying Mean stack application

the app works on my local machine and deployment was successful! here is my app.js, could this be becuse of the .getignored files, if so how do i push the ignored files to heroku? here is my ....
0
votes
0answers
7 views

Error after deploying to heroku nothing is showing on the browser. Mean stack

i have .gitignore files, i don't know if that would be the problem i copied this from the chrome console, my app successfully deployed on Heroku but when I open it the browser shows empty white page, ...
1
vote
1answer
30 views

Difference between WebApp that connects to API vs backend rendering

Sometimes when I create basic web tools, I will start with a nodeJS backend, typically creating an API server with ExpressJS. When certain routes are hit, the server responds by rendering the HTML ...
0
votes
2answers
29 views

Return a value from forEach in protractor - Managing closures

I have the following helper code from which I am trying to return the number of occurences of a string. this.getActualFilteredStatusCount = function(strFilter){ return this.getTotalRows().then(...
0
votes
2answers
59 views

Update data in MongoDB with Moongoose and MEAN Stack

I have a mongoose data like this: { "_id" : ObjectId("58e394cacaa6512ed00e8d83"), "RoleName" : "Manager", "UIList" : [ { "Edit" : false, "View" : false, ...
0
votes
1answer
11 views

webpack typescript angular 2 settings based on environement

I have an angular service that needs to access 2 different url based on the npm environement but I cant figure out how to do this lets say in dev (on my machine), I should have authenticate(...
0
votes
2answers
37 views

Is Socket.io Ideal for chat module

I am working on an Angularjs and Node.js based application. This is an organization based application. In this app, I have to implement chat functionality. So as we all know Socket.io is the best ...
0
votes
1answer
29 views

angular-ui-tinymce not working

I am using npm (not bower) to download angular-ui-tinymce. npm install angular-ui-tinymce Thereafter, I am installing it in my application using the following. var angular = require('angular'); ...
0
votes
0answers
20 views

req.file is undefined when using AWS

On local host req.file is available however on my ec2 instance whenever I try and upload a file req.file is always undefined. I dont know what to do about it at this point. var storage = multer....
0
votes
1answer
21 views

Querying Large Dataset in Oracle Database from NodeJS

I'm currently working on a project from work where i have an Oracle 10 database table with about 310K give or take 10-30K rows. The goal is to display those rows in an angular frontend, however ...
0
votes
1answer
19 views

How to send a variable to a NodeJS controller from an AngularJS service?

I have an AngularJS service called sensorReadingsAPI, which has the following function with get: var _countSensorReadingsFilter = function () { return $http.get(config.baseUrl + "/sensorReading/...
1
vote
0answers
23 views

How to combine client and server on a DEV machine?

I'm developing a website with Angular.js, which uses an HTTP interceptor. When I'm running the website on a DEV machine, I want my HTTP interceptor to write each HTTP request/response into a local ...
1
vote
2answers
30 views

Angular2 TypeScript - error TS2307: Cannot find module 'angular2/forms'

My component file contains: import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: `<user></user> `, }) export class AppComponent { } ...
0
votes
1answer
39 views

Crawl NodeJs and AngularJs sites with scrapy python

I am trying crawl websites with scrapy python, most of sites done successfully but most of sites are giving tough time, because they are running on Nodejs and angularjs framework or other java ...
-1
votes
0answers
18 views

I get the 304 error in the git terminal **"GET /api/locations?lng=-0.79&lat=51.3&maxDistance=20000 304 32.331 ms - -

[View when the coordinate in the request is similar to the locations in the database, distance = 0] Problem Hi i am currently working through the example in Getting Mean with Mongo Express Angular ...
0
votes
0answers
11 views

angular CLI application in node server does not build on file change

I have an angular CLI application on node server. how can auto build this when ever a file changes in the angular CLI app. i was using lite server before and currently i converted it to node server ...
1
vote
1answer
29 views

passing a file path as parameter in a angular router

Is it possible to pass a file path (e.g. /var/logs/master.json) in my router and use it via "req.params.path"? I have this: router.get('/file/{*path}', function (req, res)
1
vote
1answer
10 views

Authentication in MEANJS for new module

I have a problem in the MEAN stack to deal with the authentication. Indeed I have created a new module called "Wallet" and here is its model: var WalletSchema = new Schema({ created: { type: ...
-6
votes
1answer
53 views

how to display data in json format?

hey actually i am new to node and angularjs and i am doing a project on node and angularjs i have a client and server node server is running on a port 3001 and client is running on 3000 whenever i run ...
4
votes
3answers
85 views

How to handle protractor promises within a for loop?

I'm trying to do some protractor testing and promises are not being resolved within the for loop. In my test case I want to find a particular node in a ng-repeat element. Here is the code to find ...
0
votes
0answers
15 views

Running “run:cordovarun” (run) task >> Error: spawn cordova ENOENT Warning: Task “run:cordovarun” failed. Use --force to continue

I am getting below error while running grunt runcordova command and I am new to this framework and have no idea why I am getting this.angularjs HTML and Sass and ionic 1 are used in this project. D:\...
0
votes
1answer
19 views

MEAN stack: Fetching data from mongodb and doing computations in controller file with respect to this data

I'm creating a web application in MEAN stack where books are donated and other users can accept these donations. This is the tutorial that I'm following. The details of the donations are stored in ...
0
votes
0answers
9 views

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory?

I am calling api based on user state selection on angular client , for some states i see it throws below erro , I never see this error before so i need some help here how can i resole this issue ? ...
1
vote
0answers
40 views

How to run angular js file in node js

i am using atom ide for running the following angular code <!DOCTYPE html> <html ng-app="home"> <head> <title></title> <meta charset="utf-8" /> <script src = ...
0
votes
1answer
23 views

How to call nodeJs helper.js from angular controller

I have an angular controller, $http.get("/videos?sessionId="+helpers.isAuthenticated.then(function(res){ console.log(res); }); above function is unauthorized right now because in api routes it ...
1
vote
0answers
39 views

Angular JS POST Submission Failure

I'm new to angular JS. I've followed an online tutorial and created a simple login form on the frontend, and linked it to the backend. Or at least I've tried. The backend is a nodejs/express server, ...
0
votes
2answers
34 views

Error: GET 404 (Not found) error for images, but the images are showing up fine

I am creating a MEAN app with images in one of my models. When the page loads, the images are rendering fine on the page but in my console I am getting this error about them: GET http://localhost:3000/...
0
votes
1answer
27 views

MEAN: NodeJS serving Angular node_modules returns index.html

NodeJS https server running an api, cms and angular app. When I start the server on my local machine (macOS Sierra) using nodemon everything works fine. When I try to do the same on my VPS everything ...
-1
votes
1answer
16 views

Show user statistics using Node.js

I am building a web platform using the MEAN stack intended to be used by different business in the same field. I want to be able to show the businesses using my platform statistics about who visited ...