0
votes
0answers
20 views

Uncaught ReferenceError: angular is not defined - Mean.IO

I have followed the steps to install mean.io, but when I browse the localhost:3000 I get a blank page and when I open the console I get a list of files pointing to the same error: Uncaught ...
-1
votes
0answers
24 views

os x mavericks what the best tool to instal component into AngularsJS [on hold]

I'm learning AngularJS with Node.js by following a 2013 video tutorial. like recommended by the tutorial i installed javascript module with Bower I set up the file loading the javascript like ...
0
votes
1answer
28 views

nodejs - private REST API

I have created a simple REST api for my application using node/ express. I am using AngularJS on the front end to serve pages to the user. I would like to add functionality such that the API can only ...
0
votes
0answers
18 views

Converting XML to JSON and uploading to DB

I have a frontend app working with AngularJS. For the backend part, I plan to use the data dumps from an external API. These files span from 20MB to 3GB, and they are provided in xml.gz format. My ...
0
votes
0answers
17 views

Flowjs file upload - AngularJS and Node

I am using Flowjs, and its ng-flow directive to upload file with NodeJS as backend. When i try to upload file, only file in tem folder is uploaded, but it's note any type of file like JPG or PNG. ...
0
votes
1answer
22 views

AngularJS impossible to use ng-repeat

I'm becoming nuts with this issue... I have a node.js/express environment with the following files: app/controllers.js 'use strict'; /* Controllers */ angular.module('myApp', []) ...
0
votes
0answers
14 views

REST-API calls from Angular ngResource-Service not forwarded by Reverse-Proxy

I'm trying to configure two Node-based Angular.js applications behind a reverse proxy (tried mod-proxy for Apache and also Nginx). Let me explain: Application A runs on localhost:3000 Application B ...
-6
votes
0answers
27 views

NodeJS with Ionic [on hold]

I'm starting a new project and i want to use ionic with nodejs as server-side. i got my ionic project which i took from the tabs template ( ionic start myApp tabs at Command-Line ) and at ...
0
votes
0answers
34 views

Node.JS Express AngularJS ng-view not working with partials

i'm a newbie in NodeJS and i'm following a video course and everything was working until i try to display a partial file in ng-view /public/app/app.js angular.module('app', ['ngResource', ...
2
votes
2answers
38 views

How to use Spring MVC with node.js

I would like to know if it is possible to use Spring MVC (using Gradle) for backend stuff together with node.js as the web server,and how? Do they communicate via JSON? The reason I would like to use ...
1
vote
0answers
39 views

What use of node.js in angularjs project [on hold]

Recently i start working with AngularJs without using node.js. My project is working fine. What the use of Node.js in a AngularJs Project.
-1
votes
0answers
16 views

angularJS + expressJS + node-postgres routing/connection issue

I'm trying to get a login function working in angularJS+expressJS+node-postgres. I have my front-end http-server running on port 8000, expressJS running on port 3000 and my postgres server running on ...
0
votes
2answers
32 views

Failing to call express rest api from angular

I'm following this tutorial on building a Single Page Application with express and AngularJS on nodejs. I'm Trying to call the web api from the angular module, but I keep receiving the entire page ...
0
votes
1answer
25 views

How to inform client of current state of execution

I wish to have a progress bar on the client side built using AngularJS. This progress bar will inform the end user of the current state of execution of a query on the server. The server in this case ...
0
votes
0answers
19 views

Angularjs Facebook authentication with PassportJS

I'm having trouble authenticating users using facebook in my application. I have 2 expressjs servers running : one for the backend which uses passportJS and is connected to MongoDB one for serving ...
-3
votes
0answers
14 views

Simple AngularJS Setup on Nitrous.io [on hold]

I'm new to both Nitrous.io and AngularJS. Can someone instruct me how to properly set up a simple, bare bones AngularJS project on Nitrous.io?
0
votes
2answers
37 views

AngularJS: show and update a progress bar for each element of a ng-repeat

I'm a beginner with AngularJS and I hope someone helps me with this code, because I don't know how to do it. This is the situation: on my project, I receive several objects in an array from the ...
0
votes
1answer
60 views

Angular express.js CORS

I am using express 4.1.0, and angular 1.2.12. My client-code looks like this: $http.get(data_url + '/stickers.json') .success(function (data, status, headers, config) { // do stuff }) ...
0
votes
2answers
29 views

MeanIO's swig template engine does not render the angular ng-model data

I use the meanIO's recommended module 'swig' for template engine. But I could not be suceessful in getting angular basic data binding. Below setting in express server on NodeJS Platform : ...
0
votes
1answer
24 views

Access-Control-Allow-Origin Not Being Recognized

I'm writing this node.js app and I've got a weird situation: This snippet of Angularjs... // delete hosts $scope.delete = function(row) { var rowData = { hostname: row.hostname, ...
0
votes
1answer
32 views

manipulating stored user object

I'm using Passportjs to auth users on a angular + sailjs stack. When the user auths I'm storing an object of the user details (role, name, email) in a angular controller that is accessible by the ...
0
votes
0answers
27 views

Protractor: Using node.js require() causes error

I'm trying to use page objects with my protractor tests so I am including var home = require('./home.obj.js'); at the top of my page. But just adding this line, I immediately get the following ...
0
votes
1answer
22 views

how to communicate from angular's controller to other modules in node-webkit?

I got an angularJS' controller used in node-webkit app, how to call db.js ' save_db from angular's controller? code as follow, thanks: angular.module('clk.controllers', []) .controller('homeCtrl', ...
0
votes
1answer
58 views

ExpressJS why is my GET method called after my DELETE method?

In my express app, when the DELETE method below is called, the GET method is immediately called after and it's giving me an error in my angular code that says it is expected an object but got an ...
0
votes
0answers
16 views

Angularjs socket.io eventlistener not getting removed

I have an app with Node.js + Angular.js and socket.io The socket is created as a factory as follows app.factory('socket', function ($rootScope, $window) { var socket = io.connect('', { ...
0
votes
0answers
31 views

How to get a list of files on the server with angularjs and nodejs?

I'd like to create a dropdown list of files available in a directory on the server. I believe this is possible using fs.readFile() However, in my controller I dont seem to have access to fs. ...
0
votes
1answer
31 views

Share Objectdefinition on Client (Angular) and Server (NodeJs)

I am trying to share a specific javascript "object definition" (class) between server and client. On the server I use Node with Express and on the client Angular. (so far no database, therefore not ...
0
votes
2answers
30 views

$scope.$watch doesn't fire when I update from a directive

I have the following code snippets: HTML: <div data-filedrop data-ng-model="file"></div> Controller: $scope.$watch('file', function(newVal) { if (newVal) { ...
0
votes
0answers
62 views

Cannot npm install for angular-phonecat tutorial : Cannot find module 'update-notifier'

I am having issues running npm install in the angular-phonecat directory. I am assuming this may be an issue with my paths but not sure. Any insight would be much appreciated. I keep getting Error: ...
0
votes
1answer
33 views

Authentication for Mongoose/MongoDB

Hi Im a newby using MongoDB & Mongoose Web Server for the first time I have an app that writing to a MongoDB database but I get an Authentication Popup in the browser asking for a ...
0
votes
2answers
33 views

Data is not passed from AngularJS controller to NodeJS server

I am attempting to pass some values from my client-side AngularJS script to a server-side NodeJS script. I set up the POST request like so: $scope.addUser = function() { ...
1
vote
1answer
22 views

How can I filter JSon File using NodeJs streams

I am using Node.JS streams to parse json file and plot it on map. I have two files : Front End where I plot the data '/points.geojson' Server side: 1- I load external file (output.json) . var fs ...
0
votes
0answers
12 views

503 ERROR URL in Node,AngularJs and Mongoose APP

I'm working in this example with AngularJs, Mongoose,Node.js and Express in Heroku. PROBLEM: I can connect to the database but I can't make it work properly functionalities.I get this in the console: ...
-1
votes
0answers
34 views

Parse MS Word Documents with Office [closed]

I'm building a site that enable the user to send CVs. Technologies are: AngularJS, Node.Js, Express, MongoDB. I would like to parse the CVs (doc, docx and pdf) and search for keywords. I tried to ...
0
votes
0answers
24 views

Using hash '#' in url is not working but '?' is working fine (for jhipster project)?

Using hash '#' in url is not working but '?' is working fine (for jhipster project)? For example: www.basicurl.com/firstname.lastname#/demo/test It removes "firstname.lastname" from url, which ...
0
votes
2answers
53 views

How can I use System Environment Variables in Angularjs Protractor?

My plan is to store a username and password as system environment variables and reference them in an Angularjs Protractor config file. I defined the variables in /etc/environment. This is what I've ...
0
votes
1answer
44 views

Partial Page rendering issue in Mean Stack application

I am learning Mean Stack by going through the Pluralsight tutorials. I am struck at some point in rendering partials for 2 days. You can refer below image for getting my folder structure. ...
0
votes
1answer
22 views

angular-file-upload not adding file to the request

I'm using angular-file-upload to upload a picture to the server running Node and Express 4.0 and I'm having trouble getting to the file data on the erver. Here's the relevant code: <input ...
0
votes
0answers
43 views

Comprehensive tutorial for nodejs Authentication for Angularjs Applications

Is there a walkthrough tutorial for setting up a simple app with authentication from node back-end for Single Page Applications using angularJS ? It should include the following: No page refresh ...
0
votes
2answers
31 views

Angular / Nodejs / Jade dynamically display partials

I have a single page that will display multiple partials, depending on the database values. AT the moment i am just using show/hide to display the div however I would like to do it the proper Angular ...
0
votes
1answer
24 views

Angular.js Yeoman app.js file not running custom function

I have a angular.js installation from yeoman generator. For express.js, I was under the impression that when the node.js server starts(with grunt serve), the app.js file is used/read to run functions. ...
0
votes
0answers
14 views

Angular and socket.io in scopes and outside at same time

I am having 3 scopes: Chat Alert_Popups View's (dynamically changed to fit user's needs. 4 at this moment and will be probably more) I also have node.js backend with socket.io in it. The client ...
0
votes
1answer
58 views

angularjs ng-include not showing file

I'm trying to implement a basic node-express angular app which includes an ng-include directive. This is the structure of my app: App: server.js package.json public: js css index.html partials: ...
0
votes
0answers
21 views

Angularjs collaborative apps - Update all users on a change

I have an angularjs project management application. So multiple users work on tasks. I want to know how we can update the changes when users create/edit/delete content. Its a big issue since when a ...
0
votes
1answer
14 views

How to get ensureLoggedIn working with routeProvider

I'm working on a node.js application, using Angular.js, passport and connect-ensure-login. Only on refresh (F5), does the redirect in ensureLoggedIn seem to work and I get to the login page, ...
0
votes
1answer
25 views

MEAN stack hangs on localhost:3000

I am trying to implement the MEAN stack using the BitNami version. I ran into some errors with the mean-stack-todo demo app - so I decided to build it from scratch(ish) by running express xxx in the ...
0
votes
0answers
43 views

Best practices for dealing with ObjectId with mongo and Javascript

I am developing an app with Mongo, Node.JS and Angular Every time the object is delivered and handled in the front-end, all objectId's are converted to strings (this happens automatically when I send ...
0
votes
0answers
16 views

Node.js Angular.js Automated API to retrieve data, store in database, and update element

Using Node.js, angular.js, Mongoose/Mongodb...I am writing a webserver called "Foo" that sends out api calls to outside seperate webserver to retrieve data, store the data in "Foo"'s database, and ...
0
votes
1answer
37 views

redirect to different route when root url changes

I am developing an anuglar + nodejs app and run into this problem. I want to set up the following url mapping: localhost:3000/ => node server serves index.html on server side and then anuglar serve ...
0
votes
1answer
47 views

How to run a node.js app on ec2

I want to run a node.js app on amazon ec2 instance. here's what I have done. npm install -g yo npm install -g generator-angular yo angular grunt serve and this is the snippet of the Gruntfile.js ...