-1
votes
0answers
26 views

Angularjs + jquery: angular fails to work or just throws an error

I am trying to use jquery and angularjs together and maybe it is not a good idea... html, <div ng-app='MyTutorialApp' class="app"> <ng-view></ng-view> </div> and I want ...
0
votes
1answer
31 views

running karma after installation results in 'karma' is not recognized as an internal or external command,

I'm trying to run karma as part as an angular-seed project, after installing karma using npm install -g karma I get: 'karma' is not recognized as an internal or external command, operable program ...
0
votes
2answers
58 views

Angularjs routing Vs Backbonejs routing

I am getting frustrated with Angualrjs as it keeps throwing errors or just fails to work at all on my localhost despite I have followed the tutorial exactly. For instance this tutorial which I want to ...
3
votes
1answer
48 views

get json data when refresh

i have a blogging app that every post have their own unique permalink, for example /post/Dh3hdjs* where Dh3hdjs* is the unique permalink.My issue are when the post is successfully created it will ...
0
votes
1answer
34 views

Replacing karma with jasmine-node for my AngularJS tests?

Jasmine AngularJS test (passes in karma start configs/karma.conf.js) describe('IndexController', function () { beforeEach(module('myApp')); var ctrl, scope; beforeEach(inject(function ...
0
votes
0answers
32 views

Convert node js express script to Apache Server

I am using the node js as server. When i am using the node server i am using the below server.js code for execute the server in locahost:3000. var express = require('express'), http = ...
1
vote
0answers
39 views

how to use socket.io to send data to a specify client ? with Angular, NodeJs,Express

I'm writing a social web with NodeJS, Express and Angular. Now I already handled socket between server and client but I want to send a server side status of a user to only his friends, not broadcast ...
-4
votes
1answer
84 views

how do I write jade-style html with an angular app? [closed]

I started writing an express app and really liked using Jade for my html. Now I'm writing an angular app and don't want to type all of the "<>" for my html. I haven't decided on a backend for the ...
1
vote
0answers
36 views

AngularJS, ng-view + css3 keyframes with jade template - ng-cloak not working

I'm currently building off of this: https://github.com/btford/angular-express-blog bit of code, which uses nodeJS, Express, Jade and obviously AngularJS. I'm running the most current version of ...
0
votes
1answer
24 views

AngularJS Mongoose error handling

I've build a simple application with AngularJS. Part of this application is calling REST services. For that, I'm using mongoose. Everything works great, but I'd like to better handle errors. A sample ...
0
votes
1answer
26 views

Hiding Webservices to a layman User in NodeJS

I have a PEAN (Postgre, Express, Angular, NodeJS) Stack Application. The web services are written using Node and Express Consumed in AngularJS service.js using factory methods. Now For eg,When ...
-1
votes
1answer
46 views

How to parse Json String in angularJS? [closed]

I have a nodeJSON string like { "Name": "Addition", "Id": "3", "ParentId": "1", "children": [ { "Name": "Two Numbers", "Id": "5", "ParentId": "3", "children": [] ...
0
votes
0answers
39 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
39 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
38 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
30 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
29 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
47 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
2answers
223 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
63 views

Similarities and differences of Node.js and Angular.js [closed]

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
71 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
40 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
3answers
105 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
92 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
294 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
54 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
28 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
17 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
87 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
47 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 ...
1
vote
1answer
35 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
1answer
42 views

Generate excel files client side or server side with node & angular [closed]

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
33 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
56 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
26 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
55 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
28 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
25 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
190 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
87 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
48 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
77 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
0
votes
0answers
43 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
47 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
44 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
73 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
68 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
34 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
105 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
56 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: ...

15 30 50 per page