Tagged Questions
0
votes
0answers
23 views
angularjs mongoose nested documents
I'm trying to build a todolist with just one more feature that we are used to see : a user can have several lists...awesome lol
Here my problem. I have a mongoose schema for the list
var ...
1
vote
2answers
26 views
Socket.IO and AngularJS creates multiple connections, how to stop?
I'm developing a realtime socket.io app using AngularJS, Nodejs, and Socket.io both the server and client side libraries. I'm using the module called angular-socket-io however when I tell Angular to ...
1
vote
0answers
15 views
nodejs proxy local api calls to external rest api service (no express.js)
I'm running the demo app of angularjs (angular-seed) using nodejs with the default project file /scripts/web-server.js (see below)
I would like node js to proxy/redirect all the local calls to /api ...
0
votes
1answer
18 views
Karma test runner - fails to capture chrome
I'm using Yeoman to generate an AngularJS app. Running the grunt serve to preiview my app works fine, but when i try to run the tests using grunt test I get the following error on my console:
Running ...
1
vote
0answers
17 views
angular and socket.io user login
I'm using angular with socket.io and express on the backend (redis/mongodb).
What's the easiest way to validate a user's password and log them into my app?
I haven't written any code for to handle ...
0
votes
2answers
42 views
Any courses that show how to use the MEAN stack or B-MEAN?
I have researched multiple times on the internet for resources on the MEAN stack and building web apps utilising the MEAN or B-MEAN. Although I do understand the fundamentals within each of these ...
1
vote
1answer
82 views
MEAN Stack course/tutorial Node.js
I have been seeking for an online course, tutorial, or book which teaches you how to fully utilise the MEAN stack. Implementation during every step when making an online application. Is there any ...
2
votes
1answer
52 views
Similarities and differences of Node.js and Angular.js [on hold]
I am new to MVC (Model View Controller) and knows intermediate OOP in javascript.
Do Node.js and Angular.js has the same purpose?
Example, i wanted to create an attendance monitoring system. Where ...
2
votes
2answers
62 views
How to write multiline javascript code to file with node?
I generate some jS code on the front end and i want to write it to a js file by making an api call to a node server and i'm having some trouble with 1) ensuring the code isnt written to file as a ...
0
votes
0answers
39 views
What are the drawbacks of using a nested hash with the unique id as the key value?
I am building a web app where there is a page object and each page has a list of annotations. Each annotation has a label (unique identifier) and some content.The page object has the annotations ...
1
vote
0answers
46 views
Angular endless loop, 10 iterations reached, locationWatch
This is the error I am getting, using angular v 1.22.
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["fn: $locationWatch; newVal: 8; ...
1
vote
3answers
72 views
AngularJS with Express Templates or pure HTML? Pros and Cons?
Express JS uses templates for generating HTML and then server sends them to client in response. There may be several other templates from which HTML can be generated. The ones I was able to discover ...
0
votes
1answer
64 views
Angularjs jQuery FIle Upload
I'm new at Angularjs and I'm trying to create an AngularJS project with jQuery File Upload but I could not distinguish between directives file controllers file and the view.
Can anyone help me by ...
3
votes
5answers
278 views
How do you take a screenshot of an angularjs app?
I've tried:
node-webshot
phantomjs
I could do it locally but I couldn't take screenshots of other websites that are based on angularjs.
Bounty
Be able to take a screenshot of any angularjs app ...
0
votes
1answer
47 views
Node.js, IIS, Angular and Visual Studio
So, I am a following a tutorial that uses angular seed to write my first angular application.
Angular seed comes with a web-server.js file that essentially runs a node server so you can emulate a web ...
-1
votes
0answers
23 views
How can I fix No content to map to Object due to end of input?
I am working in AngularJS application with node.js(Express). Sending $http request to the server with method 'POST' and postData: JSONData. When it goes to the server I am getting Error
No content ...
0
votes
0answers
16 views
Serving images from AWS S3
I am having an issue that I cant solve in my head for some reason.
I have a client (Angular) and server (Node). They should run in same domain.
Idea is that when the user is logged in he can change ...
0
votes
0answers
74 views
How Can I send a POST request with JSON data using $http or $resource in AngularJS?
I want to send a request to the server with postData.(JSON)
I tried the following $http request,
var jsonData = {"id": 1,
"name": "xxx",
"designation": ...
0
votes
1answer
35 views
Automating Node and Angular frontend/backend Integration, production preparation and deployment?
I have been experimenting with Node.js for a while and have hacked together simple projects with Express, Hapi and Restify. The frontends on these small projects were very small and limited, as I was ...
0
votes
0answers
63 views
How Do I prepare myslef for Mean Stack developer [closed]
I am basically a .net stack developer and now interested in Mean Stack.About I am have sort of mid level expertese.
For Mean stack developer what i have found that i have to Learn following things
...
1
vote
1answer
29 views
MEAN Stack CRUD todolist giving infinite list, won't delete
I've been banging my head against this for days and I'm still unsure what's wrong. I'm getting an infinite list of items as soon as I load localhost. These items are usually empty and don't contain ...
0
votes
2answers
39 views
Generate excel files client side or server side with node & angular
My app use node.js & angular.js.
I used Django in a previous version and generating excel file was just a breeze thanks to xlwt.
Is there an easy way to generate excel files with node or ...
1
vote
0answers
32 views
AngularJS and Express - Routing multiple urls
I'm currently trying to write a service with the MEAN stack to handle actions on a game. I've followed boiler plates up to the point where I now need to add custom actions.
I have a game model which ...
1
vote
1answer
41 views
Parsing url params in expressjs - angularjs application
Struck with routing issue in expressjs and AngularJs project.
It's not a single page application and I am not using any view engines such as jade.
We are just using plain HTML.
I am working on ...
0
votes
0answers
22 views
Authentication Strategy with Service oriented AngularJS
I am creating an Angular Web app that runs without a back-end framework but instead different services for crud and authentication. I was wondering about a strategy for a secure strategy for ...
1
vote
1answer
52 views
Angular routing doesn't work when URL is directly visited in browser but works when clicked to?
I have an angular app with a directory structure
app
..views
....partials
......main.jade
......foo.jade
....index.jade
and routes defined like:
'use strict';
angular.module('myApp', [
...
-1
votes
0answers
27 views
is it possible for angularjs controller access into custom express middleware ?
say i have a custom middleware in express app
app.use(sessionHandler.isLoggedInMiddleware);
this.isLoggedInMiddleware = function(req, res, next) {
var session_id = req.cookies.session;
...
0
votes
0answers
24 views
How should I structure my Angular modules for easy globbing?
I've taken to structuring my Angular apps in terms of modules, kind of like the Angular repo itself. For example, a module's structure might look like:
module
|--module.js
|--directives
| ...
0
votes
2answers
129 views
How Do I Set Up The MEAN (Mongo, Express, Angular & Node) stack on Nitrous.IO
I using the upcoming weekend to check two things off of my 2013 project list:
Give Cloud Development A Try
Try ANGULAR.JS
My game plan is to set up the MEAN stack on Nitrous.IO and then use the ...
1
vote
1answer
70 views
socket.io angular error: Uncaught TypeError: Cannot call method 'onClose' of null
I'm trying to follow the guide here:
http://www.html5rocks.com/en/tutorials/frameworks/angular-websockets/
I'm using node, express, and socket.io with angularjs.
I get the follow error on the ...
1
vote
2answers
39 views
Where to load bulk data in the MEAN+Mongoose stack?
In which of the MEAN stack level is it best to load bulk data? I have about 200 - 800 entries of 2 - 3 different types (i.e. they would require 2 - 3 different Mongoose schemas).
Here are the ...
0
votes
3answers
61 views
Directory structure for Node.js and Angularjs prokect [closed]
I am starting a node.js application using angular.js
I need to setup the directory structure but am a bit unclear on how it should be?
Any ideas would be good.
Cheers
-1
votes
1answer
89 views
Angularjs+nodejs+mongodb or angularjs+web service REST (php)+mysql [closed]
I m looking for the best architecture for my web app. This app will mainly manage lists of elements(CRUD).
I m wondering what would be the best architecture between the two I've mentioned.
Could ...
0
votes
0answers
40 views
How can I force node.js to be case sensitive?
We have a Angular.js project locally running on node.js. No we published on a Apache server and noticed, that Angluar includes do not differ between upper and lower case letters as long as it is ...
0
votes
1answer
43 views
Mongoose eager loading?
I have a problem concerning the return of a mongodb document.
I am using following call in my node.js server configuration:
app.get('/ruimtes/:afkortingCampus', function (req, res) {
...
0
votes
1answer
41 views
Undefined error in MEAN CRUD
{ text: undefined,
done: false,
_id: 529e16025f5222dc36000002,
__v: 0 }
PUT /api/todos/529e16025f5222dc36000002 200 142ms - 68b
I keep getting this error when trying to do an update for my ...
0
votes
1answer
55 views
Real time update with php, node.js, express.js and socket.io
I have created a web app with php as server side and angular as front end. In that application I need realtime update of a grid list, whenever a change is happened in the record. So I have decided to ...
0
votes
1answer
59 views
MEAN Stack CRUD update 404 error
Heads up, noob coming through. Trying to build a MEAN stack todo list. So far I've gotten everything to work except for the update option. What I've done is set up the application so that it prompts ...
1
vote
1answer
28 views
Angular JS auto-bootstrapping and manual bootstrapping failing for module
My module is defined as follows:
//controller.js
var app;
app = angular.module('toDoApp', []);
app.controller('toDoCtrl', function($scope) {
$scope.appTitle = 'ToDo List App';
$scope.toDoText ...
0
votes
3answers
87 views
AngularJs Routing without hashtag in link?
I've recently began learning AngularJs for web development and am loving it so far. However, I'm not so sure about having hashtags withing the link when routing between views. My main concern is how ...
0
votes
0answers
46 views
How to create a directive in Angular JS for a Morris JS graph
I am trying to create a graph using Morris JS by creating an Angular JS directive. My directive code is:
Reporting.directive('morrisLine', function(){
return {
restrict: 'EA',
template: ...
0
votes
0answers
34 views
Convert tiff images in Node.js and send them to Angular.js [closed]
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
39 views
it courses in uk (angular.js, node.js, unit testing, noSql …) [closed]
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
83 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
126 views
Node.js or PHP as backend for angular frontend? [closed]
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
48 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
56 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
31 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 ...
1
vote
2answers
37 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
63 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 ...