Tagged Questions
0
votes
0answers
17 views
Scenario testing AngularJS on node back-end
I am trying to scenario test my AngularJS application with a simple node.js back-end serving the content. I cannot get a single test to pass because it is clearly unable to load any page, even though ...
0
votes
2answers
27 views
AngularJS and ExpressJS Routing issue?
I am using Angular, express, nodeJS for web application development.
Anuglar code:
'use strict';
//
Declare app level module which depends on filters, and services
angular.module('myApp', ...
0
votes
0answers
20 views
Error installing karma on Windows 7
I'm trying to install karma using
npm install -g karma
but, even as the admin, I'm getting these errors:
0 info it worked if it ends with ok
1 verbose cli [ ...
-2
votes
3answers
58 views
What does ExpressJS do that's not covered (better) in AngularJS? [on hold]
What are the best use cases of ExpressJS?
ABC.html with views depending on user input, can be managed using Angular's 2 way binding.
We can create webserver using express, but there is no need when ...
1
vote
1answer
20 views
Page not rendered from Express POST route
I'm trying to display a page using a POST route, but so far no luck. The route is called from an Angular controller. The POST route is called properly - I get this in the node console POST /search 200 ...
0
votes
1answer
44 views
Node JS newbie: why do I get a 404? (angular-seed)
I'm trying NodeJS for the first time.
I'm following the hello world instructions at https://github.com/angular/angular-seed and https://github.com/thedigitalself/angular-sprout (which has the same ...
0
votes
1answer
23 views
Redirection issue with Node, express, and angular
I have an app running in node, express, and angular. It has 2 pages, a user profile page and a login page. I want to make it so that if the user is not signed on and when the profile page is reached, ...
0
votes
1answer
33 views
NodeJS/ExpressJS send response of large amount of data in 1 stream
I'm prototyping an app using the native mongo rest api where Node returns about 400K of json. I use the following to maket he request to mongo's native api and return the result:
...
0
votes
1answer
26 views
How to run AngularJS end to end tests on Jenkins?
How can I run AngularJS end to end tests on Jenkins? As far as I understand, e2e tests require a web server.
I can run e2e tests locally with karma while node.js web server script is running.
0
votes
3answers
48 views
Using AngularJS's $resource to query a database
I've created an API that works via a url, built on node.js, express.js, mongoDB and angular.js.
My API is called like this:
app.get('/api/posts/:query', api.postsQuery);
So if I type ...
0
votes
1answer
55 views
document.ready called in infinite loop with angular.js
I am building an app using Angular.js, Node.js, and Socket.io (among other things). My issue is that when I try to follow a link routing me to a login page, I end up in an infinite loop. The jquery ...
0
votes
1answer
25 views
Server-side node.js templating and merging for text files
I am trying to see if there is a library that will allow me to do merging of a JSON object with a template (txt file) on the server side. Ideally, I would like it to be able to handle some conditional ...
0
votes
1answer
76 views
Express Routing HTML5 Style CatchAll Conundrum no HASHBangs - Angular JS, Yeoman
Hi I'm at the very beginning stages of a new project.
I am going to be using yeomans modern workflow tools for the front end, angular js work.
Backend written in node.js using express. I do not want ...
2
votes
0answers
70 views
Can I use html5 local storage for storing user authentication session information
QUICK BACKGROUND:
I'm writing a Mongo/Express/Angular/Node SPA and using passport I have setup OAuth log in options to handle the user authentication / authorization.
With passport I am ...
0
votes
0answers
89 views
How to structure Node/Angular/Socket.io project?
I am working on a project that uses AngularJS and Socket.io. I found this very nice example of integration.
This is the project structure:
app.js --> app config
bower.json ...