0
votes
0answers
15 views

Trying to send a json file to communicate with angular.js web application

I am using nodejs. I am stuck on how to communicate to angularjs web application. I am actually following the book called angularjs. I am trying to figure out a way to grab the json when the http ...
0
votes
1answer
6 views

Tail on flash game graphic when using ng-include, no tail on graphic without

I just embedded a flash game on my website (angular/node/express) using http://ngmodules.org/modules/angularjs-media like this: <div class="container hero-unit"> <flash width="400" ...
0
votes
1answer
26 views

Angular POST to Node Server

I am trying to learn angular and I have run into a problem. I have a form that submits an Item Name, Price, and Image to MongoDB. In my Node route I am using res.json as the response. While using the ...
0
votes
1answer
11 views

Yo angular error

I'm attempting to build Angular via Yeoman with the command "yo angular" everything works until I get to the tmp directory: npm ERR! Error: EACCES, mkdir '/home/colin/tmp/npm-10021-myBKjnB0' npm ...
0
votes
1answer
19 views

Error installing angular generator

I'm attempting to use Node to install an angular package for yeoman. Here's the command I run "npm install -g generator angular" Everything seems to work until I get this error node-gyp rebuild ...
0
votes
1answer
8 views

JADE render angular scope var with HTML and JSON in

I have a angualrjs var which is HTML with JSON, it basically read from the database. The var is <div id='tes-34ncd' class='classname'><span class='classname-data' ...
1
vote
1answer
21 views

Angular not updating html template variables when served via NodeJS server

This is a bit of a specific question, but I'm at a bit of a loss for an answer. First, a little background. I've been trying to learn angular, and I wanted to start using Node as the backend. I ...
-1
votes
0answers
10 views

OpenID Authentication with AngularJS

I just generated a Yeoman webapp using the angular-fullstack generator. It comes with a default application that consists of a simple user login. Given that the generator uses passportjs for ...
0
votes
0answers
8 views

Setup automation for configuration files with node and angularjs

I started an application in AngularJS couple of weeks ago. All my configuration variable are stored in a constant like this: /** * defines constants for application */ define(['angular'], function ...
0
votes
0answers
29 views

Actionscript 3 (flash game) with Node.js

I am trying to embed a flash game in a node app. I think I have set up the sockets correctly - I am not receiving any errors - but when I go to the page where the game is supposed to load, I just see ...
0
votes
1answer
15 views

Running Protractor Test receive error “ReferenceError: modules is not defined”

I'm trying to setup Protractor tests on a Windows machine. I have the server up and running but when I runt the tests, it fails and I get the following error: ReferenceError: modules is not defined" ...
0
votes
0answers
33 views

Extract uploaded files from Angularjs to Expressjs

I use the following ways to upload file to angularjs, but how can I extract it from express js? var formData = new FormData(); formData.append('file', file); ...
0
votes
2answers
35 views

File upload in expressJS and angularjs using REST API

I am new to angularjs and nodejs. I want to implement file (.pdf, .jpg, .doc) upload functionality using rest api, angularjs and expressjs. I have tried to get idea from Use NodeJS to upload file ...
0
votes
1answer
19 views

AWS redirect URL with AngularJS running in Node.js server

I´m trying to config a website hosted in AWS EC2 instance. But Im a bit mixed!! I have an AngularJS application running in a Node.js server listening on port 1234. This site is deployed correctly, so ...
0
votes
0answers
19 views

How do I run the angular-phonecat tutorial tests when it is running on a headless server

The angular-phonecat tutorial assumes you are running angular-phonecat on a server that has chrome installed. After entering npm test the local chrome-browser should open and run the tests ...
1
vote
1answer
29 views

Server side validation in Express compatible with a single page Angular application

I would like to perform server side validation, preferably with expressValidator. When saving a resource, I check to see if it is valid. If it's not valid what should I return? There are examples: ...
0
votes
1answer
34 views

How to get BreezeJS to talk to MySQL DB with Angular + Node?

Stack: MySQL + Express + Angular + Node and node-mysql to talk to the DB. EDIT: I'm connectiong to a local DB and the connection works. I can't get Breeze to communicate with it. I'm trying to get ...
0
votes
1answer
19 views

Can I listen for the same message twice using Socket.io?

I'm currently building an app using Node and AngularJS. I'm building a bunch of modules on a page that send and receive data using Socket.io. What I would like to do is have a module that calculates ...
0
votes
1answer
29 views

AngularJS input from mongoose module decimals

I have a mongoose model containing a salesPrice type number. Since mongoose doesn't support decimals I created a setter and a getter like this function getSalesPrice(num){ if (num) return ...
1
vote
0answers
26 views

Simple architecture for AngularJS, Express and node

I'm trying to learn nodeJS by developping a simple site managing an account and allowing a user to add collections of books. I chose Cassandra to hold data, but should I create Column family ...
-1
votes
0answers
15 views

what is grunt's role in angular-seed and/or is yeoman preferrable

It seems that angular-seed doesn't use grunt at all (at least not from the command line). All the same grunt tasks are available using npm directly including kicking off the tests, minifying ...
1
vote
1answer
54 views

Can BreezeJS work with MySQL + NodeJS + AngularJS?

I'd like to use breeze but I can't find out if it will work with a MySQL + Express + Angular + Node stack. The docs say it will work with MongoDB, but what about MySQL?
2
votes
1answer
32 views

express route return JSON to Angular form issue

My angular controller for signing up/signing in users is as follows: angular.module('SignCtrl', []).controller('SignController', function($scope) { $scope.formData = {}; $scope.processForm ...
1
vote
1answer
27 views

Expressjs order of app.router and express.static

To configure my Expressjs app I have these two lines (amongst others): ... app.use(express.static(__dirname + '/public')); app.use(app.router); ... I've read that the recommendation is to put the ...
1
vote
1answer
31 views

Node js HTTPServer/StaticServlet POST request

I am relatively new to Node js. I have built Node js / Angular Application based on angular-requirejs-seed However, I found scripts/web-server.js confusing as I used to develop node js server with ...
1
vote
3answers
60 views

Can't upload file from Angularjs to Expressjs

I'm trying to upload a image from a AngularJS interface to a nodejs server (expressjs). (I'm using mean.io) Every time I upload someting, req.body logs "{}" and req.files logs "undefined" I'm using ...
1
vote
1answer
21 views

parse formdata request at nodejs server

How do you parse formdata at nodejs side? I’m doing http POST requests to a nodejs server. Here is a snippet of the Javascript(angular in it). My aim is to upload a file and add a JSON to it. So ...
0
votes
1answer
14 views

angularjs - routes not working when typed

Could anyone explain why when I click on a link my angular views get shown fine but when I type in an address into the address bar in the browser (which is the same as where the links that work point ...
0
votes
2answers
47 views

How to change data without reloading page with Angular and Node JS

Client data: accounts = [ Account1 = { name: 'Dan', phone: 1775123, role: 'Client', email: 'none' }, Account2 = { name: 'Messy', phone: 3564576, role: 'Client', email: ...
0
votes
1answer
19 views

Internationalization i18n with NodeJS and AngularJS

I am developing a web application with NodeJS+Express+AngularJS and I am trying to show it in different languages. I have been able to translate correctly static text with "Angular-translate" very ...
0
votes
0answers
37 views

Deployd: possible EventEmitter memory leak detected

When I run: sudo dpd -p 5500 in an already created deployd directory, I get the error below: Error loading resources: Error: ENOENT, readdir 'resources' (node) warning: possible EventEmitter ...
1
vote
1answer
42 views

Express node.js with mongoose CRUD strange behavior.

I'm starting my adventure with NodeJS. I've choose express web framework with mongoose database. As part of my front-end I'm using AngularJS. First the front end, basic form args passing to ...
1
vote
1answer
41 views

Using localForage and angular-localForage with Browserify causing errors with require statements

I am attempting to install localForage into a node.js application (with Angular) and Browserify. Here is a link to the localForage documentation It appears that using localForage and ...
-7
votes
1answer
38 views

How does Angular.JS and node.JS work for building a small single page application? [closed]

I am a beginner to Angular JS and node. I am from jquery background and have little Java knowledge. But I want to try and use node.JS for my application and also jump into Angular.JS. I have heard ...
0
votes
1answer
26 views

Running “karma:unit” (karma) task WARN [reporter]: Can not load “html”, it is not registered! Perhaps you are missing some plugin?

I'm getting following warn when I ran grunt test and doesn't give me the expected result, which is writing the progress of unit tests. error:- Running "karma:unit" (karma) task WARN [reporter]: Can ...
0
votes
0answers
46 views

Node-Webkit and AngularJS package apps: require not defined

I am using https://github.com/mllrsohn/grunt-node-webkit-builder to package my node-webkit app which is built using AngularJS. The app works fine on MAC when I build from Sublime Text. But when I ...
0
votes
2answers
37 views

Angularjs / expressjs - sessions and IE

I am having troubles with getting IE8/9 to work with the way my app is set out. Initially I was using express to store my session var, this worked with a url path like '/broadcast/12343' however when ...
0
votes
1answer
21 views

How do you modify the generator-angular-fullstack favicon?

How do you modify the generator-angular-fullstack favicon? I'm deploying the starter project https://github.com/DaftMonk/generator-angular-fullstack (the most popular yeoman generator). This is a ...
0
votes
1answer
41 views

Breeze Error: A MergeStrategy of 'Disallowed'

I am getting this error when running the sample application for AngularJS from Breeze's website. This is the code for the controller breezectl.js: 'use strict'; ...
0
votes
1answer
27 views

Using Angular Templates

I have a template to be rendered with angular and a node js application. I want to make some kind of require('angular'); from my node application and use it's compile service to compile an email ...
0
votes
1answer
44 views

Missing hash prefix error in MEAN stack

I am getting Error: [$location:ihshprfx] Invalid url "http://localhost:3000/#", missing hash prefix "#!". ...
0
votes
0answers
30 views

Can only click link once in AngularJS

I got a problem in AngularJS/Node. I have a sidebar where you can click on a page and edit a name, type, etc of a project. I can save the project and go to a new page, HOWEVER, once I click on a new ...
0
votes
1answer
16 views

Express ignoring assets list and including every javascript file

I'm having some trouble figuring our why express is attaching every javascript file in my bower modules instead of just the ones I specify in the assets.json file. I get the feeling it's a daft ...
0
votes
1answer
13 views

Saving data from 3rd party API to CouchDB using AngularJS

I have a working frontend app build with AngularJS. It interacts with a couple of 3rd party APIs and is getting data without a problem. The next step of the app would be to store this data into a ...
1
vote
0answers
77 views

convert html into javascript string

I'm getting some html from node-request and I want to place that html into my javascript code as strings: <div id='frontpage'><div set-href="'/user/' + (user | ...
0
votes
0answers
27 views

Using Angularjs/Nodejs/Passportjs in order make api calls

I wanna build a system where a user can access different apis like youtube/facebook/twitter and display all the data he wants on one single page. For authentication I found passportjs and after ...
-3
votes
0answers
30 views

Best way/web technologies to write a realtime Angular webapp? [closed]

I know that this has been discussed probably millions of times and you will mark me down. However, I'm learning Angular.js and ideally I would like to create a web application in real time using ...
1
vote
1answer
45 views

Error in npm install command

Got an error at the end of npm install command. angular#1.2.1 bower_components\angular npm ERR! peerinvalid The package karma-requirejs does not satisfy its siblings' peerDependencies requirements! ...
0
votes
1answer
46 views

Using nedb array for ng-repeat

I'm new to angular and nedb. I'm trying to use an array from a nedb for ng-repeat. I don't understand why my code don't work <div ng-repeat="hello in helloworld"></div> ... ...
0
votes
0answers
41 views

Angular js - $location.path causes [$rootScope:infdig] 10 $digest() iterations reached

I am facing a strange iteration on the statement $location.path. I am not able to move away from this issue. JavaScript runtime error: [$rootScope:infdig] 10 $digest() iterations reached. ...