0
votes
0answers
9 views

Convert tiff images in Node.js and send them to Angular.js

I'm planning to build a small app, with the purpose to search and render multypage tiff images in the browser. Plugins like alternatiff works well but I want to avoid the user to install it. I found ...
0
votes
0answers
34 views

it courses in uk (angular.js, node.js, unit testing, noSql …) [on hold]

I am a french student in IT. I would love to find courses in advanced JavaScript with: angular.js node.js unit testing c++ any other javascript feature and why not with: mathematic java ...
0
votes
1answer
25 views

Adding AngularJS on top of existing Node.js, Express, MongoDB and Socket.io Stack

I've been developing a web app using Node.js, Express, MongoDB, Mongoose and Socket.io for some time now. Version one has just been released and is working great. For version two however, I want to ...
0
votes
1answer
61 views

Node.js or PHP as backend for angular frontend? [on hold]

I do not have experience in web development(more of a desktop guy), but I am starting to learn. I need to create a small web app that allows users to do 2D designs of a floor plan, The elements will ...
1
vote
1answer
37 views

Pattern for sharing a library between angularjs and node.js

How can I share a library between angularjs and node.js? For example an angularjs service is often a reusable piece of code. Let's take a URL library as an example (pick apart and construct URLs). ...
0
votes
1answer
45 views

Store private key on a static Angular site

I have a static AngularJS file. It's deployed on Amazon S3. I am accessing a API which has a hash authentication mechanism. I have to use a private key in order to create a hash of the URL and send ...
0
votes
2answers
19 views

How to use ng-disabled with jade templates

Now I work with nodejs and investigate angularjs for fun) But I have some problem I want to add file upload for my blog project and i did it) So I want show upload button only if user select some ...
0
votes
2answers
23 views

can't submit a form on express/angular app

in my program there's a validation function on it, if there's an error it will prevent the form to submit and display error msg else it will console.log("Success") but my form cannot be submitted even ...
0
votes
1answer
25 views

How to fix “There is no server listening on port 9876” error while running karma?

I am a newbie to karma .while i running the following PS D:\app> karma run it shows the error [2013-11-29 17:39:54.297] [DEBUG] config - Loading config D:\app\karma.conf.js There is no server ...
0
votes
1answer
15 views

angular-phonecat tutorial- server not working

I am working through this tutorial in angular-js. when I run the server, nothing seems to happen, my console looks like this: This is in git bash but I get the same thing in windows console. When I ...
0
votes
0answers
31 views

Inserting an embedded document into MongoDB with angularJs

When trying to insert an embedded document, what should the angular view look like? This is my model in node: var ArticleSchema = new Schema({ /*other fields that aren't relavent here */ ...
0
votes
0answers
30 views

getting Wrong url in Angular url

I have getting a problem with Angular js url.i have implementing app.js where all url mapping is done.my proper url is this for page.html "https://chanrjeetsingh.com/home/index#/page.html". but i ...
0
votes
0answers
30 views

Angular resource object not reaching server

This is my controller: $scope.deleteTodo = function(todo) { console.log(JSON.stringify(todo)); // this returns ...
0
votes
1answer
24 views

role-based page views with angular and node

In my app, I have a main page for admins, who should be able to perform admin actions. I know that all server calls need to be properly authenticated and all that. Nevertheless I'd like to reduce ...
-2
votes
0answers
30 views

display information from mongo database on angular page?

I'm trying to display information from the teachers database that is loaded into mongodb. I've done this with a classes database and everything shows correctly, however when I try it with teachers i ...
0
votes
1answer
35 views

Object #<Resource> has no method 'push'

At first I had this, but got error Expected response to contain an object but got an array: angular.module('homeModule').factory("TodosFactory", ['$resource', function ($resource) { return ...
0
votes
2answers
37 views

Why during $save() it generates a new entry in the mongoDB with a string _id?

MEAN stack newbie here. Probably asking a silly question. As an exercise, I have been trying to implement a prototype SPA which shows a series of task cards on the screen (kinda like Trello). For ...
1
vote
1answer
30 views

Express routing conflicting with AngularJS routing.

I have routing code of the following nature in Express : app.get("/profile/:param", function (req, res) This is coinciding with the path routing provided by AngularJS. For instance, when an ...
1
vote
1answer
119 views

Yeoman for Angular, then grunt server won't start

This is the first time I use yeoman to setup the scaffolding for an AngularJS app, and I have to admit I am likely new to the nodeJS, grunt and bower world. So, here's what I've done so far: I made ...
0
votes
1answer
31 views

how to deploy nodejs on heroku

Hi I developed a small application in nodeJs and angular using the angular-fullstack generator for grunt, following the instruction on: https://npmjs.org/package/generator-angular-fullstack, when I ...
-2
votes
0answers
48 views

Website using nodejs, jquery/angularjs , mongodb [closed]

I wanted to build a similar website as : http://rikoru.2013.nodeknockout.com/ as a project using nodeJs, mongodb and javascript(jquery/angularJs). Can anyone help ??
0
votes
1answer
26 views

NodeJS folder structucture, view files placing, routing SPA

I have been learning for NodeJS for few days now, and there are tons of example projects, but what I am interested is Express + Angular + MongoDB + Single page application. So best one out there is ...
0
votes
1answer
61 views

Understanding the MEAN stack [closed]

Just a quick question. I have searched for a user group to post this in a more suitable location to no avail. I am getting familiar with the MEAN stack: https://github.com/linnovate/mean However I ...
1
vote
1answer
46 views

MEAN stack file structure & grunt [closed]

I am learning the MEAN stack by working on a personal project. At first, I used the combo of yeoman/grunt/bower, but I wasn't happy with the file structure that the yeoman generators had, so now I ...
0
votes
1answer
34 views

A simple way to set up automated BDD test environment for Node.js server + SPA javascript framework?

Here's my project's setup: Frontend: Angular.js/Backbone.js SPA app Backend: Node.js + NoSQL db as backend Testing: Already have Karma set up for SPA testing (with mock JSON responses) Already ...
0
votes
2answers
27 views

Socketio authorization function in expressjs

im very noob and i have this function to make the authorization. io.set('authorization', function (handshakeData, accept) { // check if there's a cookie header if (req.session.user) { ...
2
votes
1answer
65 views

Setting up an update in a ToDo list app

I'm working on creating a CRUD todo app using AngularJS, Node, Express, and MongoDB. I've got all parts figured out except for update part. I'm not really sure how to implement that or what the code ...
2
votes
1answer
36 views

How to debug angular protractor tests in WebStorm

There is a way to run and debug protractor web-tests in WebStorm. I just want to share this answer here
0
votes
3answers
142 views

how to get data from a form in angularjs/express app

Hi guys may i know how to get data from a form in angularjs/express app ? for example index.js routes app.post('/register', sessionHandler.handleSignup); handleSignup function is there any way ...
0
votes
1answer
17 views

Express Routes Generating 404 Response

I'm using MEAN stack as an extension of my learning node and express. What I'm attempting to do is simply link from one static page to another within the app. My routes are defined as: //Home route ...
0
votes
1answer
46 views

How to include socket.io with angularjs and Express.js?

Using socket.io with nodejs and angular myApp.factory('socket', function ($rootScope) { var socket = io.connect('http://localhost'); 'io' not defined error In express i'm writing:- var io = ...
0
votes
1answer
49 views

angular js is not rendering in jade (with node.js)

I facing a problem that my Angularjs is not rendering or load in my Jade layout. Somehow the stylus is working perfectly with. I counldn't find out the reason why. I'm still the beginner in learing ...
1
vote
1answer
44 views

angularjs anchor in iterator (anchorscroll, ng-repeat,loop)

for example, <div ng-repeat="item in items"> <p>item.title</p> ... ... ... <p>item.up</p> </div> As i know ,anchor scroll need to specify an ...
0
votes
0answers
18 views

How to test Angular in case of php+mongo backend

Short: How can I read already compiled models structure from the mongoDB? Full description: I want to write acceptance(e2e) tests for the frontend based on Angular JS. I'm choosed protracor to test ...
0
votes
1answer
57 views

Refresh(F5) ngview with angularJS

I've got an issue with my Angular application. The application is running well the first time, it is possible to navigate inside, but it fails when I try to refresh the page with F5. When F5 key is ...
0
votes
1answer
43 views

404 error trying to load MEAN web app

So I'm trying to set up a basic Todo list/CRUD application using the MEAN stack (Angular, MongoDB, Nodejs, Express) and I keep running into trouble when I switch around the routes and models in the ...
0
votes
1answer
47 views

module not defined in karma

I want to run mySpec.js with karma in webstrom7. When i run karma, karma server starts on my browser but in webstrom I am facing this error as I'm new to angular, please help. This is the error I'm ...
0
votes
1answer
27 views

Return collections from Mongo using a MEAN stack

I'm currently working on a group project. We're using the MEAN stack to create a simple web application but are running into some issues with returning data from the mongo database. We're trying to ...
-1
votes
0answers
28 views

Best practice to implement data exchange between NodeJS based REST API and a rich client like AngularJS

I am working on a project which involves a server side (Node and Express) and client (browser and mobile) implemented by AngularJS. the client need to view list of items and be able to create/delete ...
0
votes
0answers
30 views

Manually setting session ID in Express

I have an Angular/Express app and am trying to implement some kind of restful auth. The Express app has Passport standard username/pass login and Redis sessions. On successful login I return the ...
0
votes
0answers
65 views

Protractor running tests on PhantomJS

I can't seem to get PhantomJS through a test successfully. I tried to integrate it into my project, but after that failed I tried to just run the basic Angular Docs samples and I'm getting the same ...
0
votes
1answer
40 views

How to fix error when trying to run node web-server.js

I've installed node.js through Win8 powershell and now want to run the web-server.js that comes with the AngularJS tutorial.. however, this time around Windows8 Powershell is behaving differently from ...
1
vote
2answers
78 views

How to create a dynamic front end based on Node JS, MongoDB, Sails JS

Basically I'm writing an app and am using Sails, MongoDB and Node JS for the back end. I'll use Sail's API features and was wondering what would be the best way to make the app realtime. For ...
0
votes
1answer
62 views

angular-seed web-script.js and cors

I'm stacked for second day... I'm trying to fetch some json from outside domain, but I broke with CORS. I'm almost sure how to use JSONP in AngularJS resource, that problem is with my node.js server ...
0
votes
1answer
83 views

Yeoman - generator-angular error at init app deployment

I have installed npm, Yeoman and got everything working, the webapp generator works like a charm. I want to get into angular development and therefore tested the generator-angular. I did everything ...
1
vote
1answer
71 views

In angularjs 1.0.8 not works PUT rest service

I have angularjs application which have CRUD Rest service. Create, Read and Delete methods works well, but PUT not works. I found on Stackoverflow and there are the same problems with accepted answers ...
0
votes
0answers
53 views

Can't get angular and socket.io to run in tests using either Jasmine or Karma

I'm having difficulty getting my test to run, and can't figure out why. I have a server and client, client is running Angular.js with socket.io, server is running socket.io. From what I understand, ...
0
votes
1answer
88 views

nodejs expressjs angularjs routing

i want to redirect from an express function to an angularjs partial to load with the controller of that view. app.js -->nodejs function(req, res, next) { console.log(req.session); ...
1
vote
1answer
49 views

Paypal express checkout for nodejs application

I have a simple web app using nodejs which has some products. I have setup my own cart using angularjs, and I want the simplest way to implement paypal payment. I have been breaking my head for the ...
1
vote
1answer
49 views

Index file being returned for all requests

I'm relatively new to web development. I'm using node (with express) and angular JS. While the solution may be simple, I can't determine why the contents of every requested file (css/javascript/html) ...

15 30 50 per page