Tagged Questions
0
votes
1answer
36 views
Database Exposure: Best Practices
I'm a relatively new web programmer and I'm currently working on my first major project. I'm using angular, express (on top of node), and the graph database neo4j. Right now I'm trying to determine ...
0
votes
3answers
44 views
Effective ways how to get data from the server
We are building webapp and I have troubles deciding how to get data from the server.
On frontend we have angularJS and HTML. On the backend we have NodeJS, MongoDB, Mongoose and Express. As a ...
0
votes
1answer
22 views
AngularJS: Best way to handle data from socket with ng-repeat
I am quite new to real-time data with Socket.IO. I am trying to figure out what is the best way to handle data coming in from Socket.IO in an AngularJS ng-repeat?
Right now I have the backend ...
0
votes
0answers
24 views
Plugin based architecture in a Three-Tier architecture
First of all i start by saying that downvoting this question is completely acceptable because i don't even know how to write a hello world function so what am i asking might sound ridiculous at best ...
2
votes
1answer
60 views
Architecture for login system on MEAN stack?
I'm developing a web app on the MEAN stack (MongoDB, Express, AngularJS, and node.js). I'm developing a login system, and will also have some of the Angular routes protected so that only logged-in ...
0
votes
2answers
20 views
server-side changes for $locationProvider.html5Mode(true);
server code:
app.get('/', function(req, res){
console.log('executed "/"')
res.render('home');
});
app.get('/partials/:name', function (req, res) {
console.log('executed partials:name');
...
0
votes
1answer
20 views
Adding a dynamically generated page as a partial view in an AngularJS app
I'm currently learning Node.js and AngularJS. To learn how to develop with these technologies, I've been playing with the Phone Catalog sample app found here.
The thing I can't figure out is, how to ...
1
vote
0answers
57 views
web server using nodejs for my angular app
I am developing an angular app, i would like to run the app using web server using node.js as like angular-seed project https://github.com/angular/angular-seed. I copied the angular seed app in my ...
1
vote
1answer
27 views
Node.js app works on foreman but not heroku. 404 Error
I'm using Yeoman/bower/grunt to build an angular app. The app runs perfectly on foreman. In my search of similar questions on stack most other people just forgot to create their Procfile or had ...
0
votes
1answer
42 views
How do I use the “version” property in package.json as the app's directory in grunt?
I'm managing a project written in angularjs, with the default directory structure, excluding the app directory which uses versioning (ie. "app/0.0.0/", "app/0.1.0/" etc..).
I'm trying to use grunt's ...
1
vote
1answer
25 views
NodeJS + Socket.IO can't get json to return
I'm using Socket.IO, AngularJS, Request, and Express and I am trying to pull in some data from a request and then send it off to the client. Here are my functions:
var getJsonFromJsonP = function ...
1
vote
0answers
29 views
How to do Integration Testing for (Angularjs) Web Apps
I'm developing an Webapp.
It consists of 2 parts. A node rest server and an angularjs client.
The app is structured this way: Rest Server <--> Api Module <--> Angular App
The server is ...
1
vote
1answer
95 views
Routing security flaw in Angular/MEAN.io?
I just installed the MEAN stack (MongoDB, Express.js, AngularJS, Node.js) and opened up the example program (as found on mean.io) and they have a basic app that you can login to and create blog ...
0
votes
1answer
38 views
View templates and routes in node.js with AngularJS
Trying to understand how to implement AngularJS in a node.js express app. After setting up express, I need 2 things: routing and a template engine, so normally I would need to do as follows to set the ...
0
votes
2answers
43 views
setting textarea text based on current input field
I have two input fields
input(ng-model='form.firstName', name='firstName', id='familyName')
and
input(ng-model='form.lastName', name='lastName')
I also have a textarea field
...