Tagged Questions
0
votes
1answer
12 views
Mean stack client side update
I'm having trouble implementing the client side update CRUD logic. The fields are currently being deleted with the set up as it is. What am I missing?
My angular:
$scope.editService = function(id) {
...
0
votes
1answer
8 views
passportjs custom callback 200
I am using angularjs and jade templating for my client side. And node and express on the server side. I recently added passport authentication and have the local strategy working fine when the login ...
0
votes
0answers
11 views
MEAN stack update [on hold]
I'm stuck on the update part of the CRUD. Any help is greatly appreciated. Everything seems to be functioning correctly on the server side. I can't figure out the logic for the client side.
My ...
0
votes
1answer
8 views
Cannot get http-server to run with nodejs command line from angular-seed github project
I am attempting to get a better understanding of nodejs so that I can get an IntelliJ plugin working.
I have installed NodeJS on my Windows 7 machine and verified that it works from the command line ...
0
votes
1answer
25 views
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'localhost:8080' is therefore not allowed access
I have seen this issue multiple times been posted on forum, but working out with those solutions hasn't helped.
I am building MEAN stack app using PassportJS to allow login with Twitter.
...
0
votes
1answer
13 views
nginx config - forward http to https, forward www.domain.tld to domain.tld and two subdomains
I'm trying to configure nginx to:
http://www.domain.tld --> https://domain.tld
http://domain.tld --> https://domain.tld
http://api.domain.tld --> https://api.domain.tld
The 'www'-webroot ...
0
votes
0answers
16 views
Updating JSON Mean stack Angular side
I have the create and delete working, as well as the server side API PUT call (I can make updates through POSTMAN by entering the key and value. I'm stuck on how to implement the update on the angular ...
0
votes
1answer
45 views
Angular.js only loading half the times
I am having an issue with an angular application. I am using bower. When I startup the server, I sometimes get this error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp ...
0
votes
1answer
21 views
Socket.io Won't Emit messages to rooms on discconect
Basically I'm trying to create a quick chat room using Node.JS and angular.
I've Used other socket events and they worked I don't quite get why they don't want to work now. The really weird thing is ...
0
votes
1answer
19 views
implementing site wide progress indicators
I have a website running on the MEAN Stack (mongo, express, angular, node) and I am using jade as the templating engine for serving partial files.
Now, I already tried ngProgres but according to the ...
0
votes
2answers
13 views
Structuring a MEAN app so Express can find all the Jade files
I am building out a MEAN app right now that is getting big. I really need to start modularizing the app but right now my Express server is configured to look for Jade views in one folder
...
-1
votes
0answers
23 views
Get request data from form inside different modules using mean.io
I am very new to mean.io. I installed the mean.io and got the sample application installed as well, which contains the data about articles. I now added the comments module in the same and want to add ...
-1
votes
2answers
24 views
Paginate blog with AngularJS Mongoose Express
I would like to paginate my blog with AngularJS / Bootstrap client side and Mongoose / Express server side. Actually I make a call to my rest API which return every blogposts i've got in my DB:
...
0
votes
0answers
12 views
The resource from this url is not text css
I am working in MEAN STACK Application. I have used less and Install
$ npm install less-middleware
In APP.JS
var lessMiddleware = require('less-middleware');
app.use(express.static( ...
0
votes
1answer
23 views
using node passport.js for multiple websites
I am writing a node.js server to act as a REST server proxy for another server. Basically, it is going to allow multiple websites to authenticate, and provide a REST api for them to use.
I am going ...
0
votes
1answer
13 views
Getting Information From Mongo And Displaying It With AngularJS
Hello I am trying to learn the mean stack and seem to be stuck.
I created a node.js, express angular and mongo project.
I have installed mongo with npm install mongodb
How do I pass data from mongo ...
0
votes
1answer
22 views
how to create star icon in each row angular?
I am trying to make star icon in each row.I am generating the row dynamically but I am able to generate rows but my star icon is visible on upper of top row why ..I need to show start icon in each row ...
0
votes
1answer
27 views
Angular.js web app through Sails.js server
I am developing a web application using Sailsjs for the backend and Angular.js for the front end. To scaffold the Angular app I have used yeoman with the angular generator and for the back end I used ...
0
votes
1answer
31 views
Ajax request from another domain using AngularJs
I'm using this book to learn AngularJS where I build this webapp with Angular, Node, Deployd. Now, my app stays at localhost:5000/app.html, 5000 is the port where node web server listen. I try to ...
0
votes
1answer
16 views
Grunt compress : How could I only include runtime node module dependencies?
My application is MEAN stack style. I would like to generate a package including all Nodejs and AngularJs files, so I could just unzip the package and run in other environments.
I use ...
0
votes
0answers
26 views
AngularJs deep linking to a specific ng-view
I followed a tutorial on angularJS with subviews using ng-views
I'm using html5Mode in my locationProvider and a nodejs backend
If I wanted to link to or hit refresh while on a specific ng-view, I ...
0
votes
0answers
22 views
Unable to run angular full stack application demo
I am trying to run the demo code hosted at https://github.com/DaftMonk/mean-chat. I downloaded the repository. Then I ran npm install and bower install. When I run grunt serve I now get this error ...
0
votes
0answers
28 views
How to implement this website login/user profile/social network connection strategy? [on hold]
I am building a website. I am planning to use these server and client side technologies: Node.js server, Passport.js user authentication, AngularJS client side framework. I was originally planning to ...
0
votes
1answer
14 views
Phonecat tutorial app (too much dependencies?)
So I'm learning AngularJS via the official website. There is a tutorial where the final app is a catalog of Android devices. Ok, so I've cloned the repo and the final size is 14 MB. That's nice. Then ...
1
vote
1answer
24 views
Shared http library
I'm working on a project that uses Node.js and AngularJS. AngularJS has the $http service. This service is great for making web service calls to rest-based services. I'm curious, does anyone know of a ...
0
votes
0answers
14 views
CSRF token issues with Express
I am trying to get CSRF protection working using csurf and express. My app uses Angular for the front end, so I figured adding this to my app would be enough:
app.use(cookieParser('test secret'));
...
0
votes
1answer
21 views
Angular Service to Express API Route + Posting Data
I am in the process of converting one of my sites (http://maskedarmory.com) from LAMP (using Laravel 4 MVC) over to the MEAN stack and it has been quite a journey thus far.
I have managed to get the ...
0
votes
1answer
41 views
Unable to update an object inside MongoDB collection using HTTP Put?
I am new to AngularJS and I was trying to update my MongoDB Database. I am having an issue when I am trying to update an object inside my collection. The following is my attempt at trying to do so:
...
1
vote
1answer
17 views
“heroku run fileName” after grunt build
To learn more about heroku scheduling I read this post and built the app described in it. The key part of this post was when I was able to heroku run numCheck and the code within the numCheck file ...
-2
votes
2answers
33 views
Can I make my local webapp visible to a friend by an ip? [on hold]
I'm learning AngularJs and so I'm wondering: can I to look my work to a friend, giving him an ip? Probably AngularJs doesn't count, I'm using a simple "web server" via NodeJs. Sorry for my English. ...
0
votes
2answers
53 views
how to store and retrieve data in anguar js?
can you please tell me how to store data permantly (example local storage)and retrieve data .I want to store data so that I get again .I am doing client side programing ? I google it it say there is ...
1
vote
1answer
39 views
How to get service instance from module instance [Angular]
i have some module defined and services too with that module like below
var services=angular.module('app.services', []);
services.factory('ApiService', function($http,$cookies,UserService){
...
0
votes
2answers
19 views
Setting Up Node.js App Directory
I'm completely new to using Node.js and even utilizing the command line, so this question may be extremely elementary, but I am unable to find a solution.
I am trying to set up an app directory using ...
0
votes
2answers
28 views
Running jQuery code in MEAN.JS stack
I'm starting to work with NodeJS, and more expecifically with MEAN.JS. I'm trying to run some custom JS code, using JQuery, but no matter where i put the code, it nevers runs as expected. This is my ...
-3
votes
2answers
32 views
Why use a templating engine for an angular app?
I'm just curious if there is any reason to be using a templating engine for a node/express/angular app.
I'm new to node and express, so I might be missing something big. But I generally handle ...
0
votes
1answer
19 views
How does requiring modules manually differ from calling them dynamically with browserify?
Sorry for the awkward post title but it's a very weird situation to be in. In my project I have a folder structure like so:
/filters
index.js
[...]
/controllers
index.js
[...]
...
0
votes
1answer
12 views
MEAN Stack socket.io pushing to client when existing data gets updated
I am working on a MEAN & Socket.io project where Mongodb in the back-end holds my data and I am using socket.io to publish newly arrived data to all the clients. To make it real time, I am using ...
0
votes
2answers
58 views
What is the best practice for multiple $http request in AngularJS?
For example, I have a controller to show user a list view, some columns need data comes from another endpoint, so I wrote these with intuition, could you tell me how do I re-factory them?
...
5
votes
1answer
86 views
Sharing code between AngularJS and Nodejs
What is the best way of sharing code between frontend and backend using javascript, specifically saying between nodejs and angularjs?
Thing is that we are using same enums and constant values such as ...
0
votes
1answer
49 views
Installing a Web Server for Node.js
I'm trying to follow a book I purchased called "Pro Angular JS", and I am having trouble getting a web server pointed to the right port. So I go to the command line, run Node, and the first error I ...
0
votes
0answers
19 views
output sanitation when displaying content from node server in angularJS
There are so many suggested ways to do sanitation with this stack (angularJS with a nodeJS backend) that I'm not sure what to
My angularJS web app makes calls to a nodeJS server in order to get info ...
0
votes
0answers
22 views
Effects of using $routeProvider for routing
I am using AngularJS 1.2.21.
As long as I am using NodeJS with Express for routing for serving ejs pages, everything works fine, but if once I start using $routeProvider for routing using ng-view, ...
-1
votes
0answers
23 views
Submitting form using node js and express with angular js as frontend framework
Hi I would like to know how to submit the form data which I wrote in html and css in my loginpage.html and I gave the action to that form ...I used post method to submit the form
The following is my ...
0
votes
1answer
31 views
How to make a Node JS server to work only with a SPA Javascript Client provided by me?
I have a Node JS server and a SPA Application build with JavaScript, CSS and HTML (Angular JS).
It will be really easy to learn how everything is done on the client, because all the scripts are sent ...
0
votes
2answers
28 views
Firebase Countdown Timer Synched Across Multiple Clients
I am going to take a crack at building a penny auction site for a specific niche using angular JS. I am trying to plan the countdown timers and i've been itching for a reason to try out firebase.
I ...
0
votes
0answers
34 views
Error: .get() requires callback functions but got a [object Undefined] - on writing a ToDo application
Hi,
I am writing a TODO application using the MEAN stack.
I am using the polling app from http://www.ibm.com/developerworks/library/wa-nodejs-polling-app/ as my base.
I am attempting to implement ...
0
votes
1answer
27 views
angular not defined, cannot get angular side of app running
I cannot get the angular side of my app up and running I am getting these 3 errors in the browser console:
Uncaught TypeError: Cannot read property '$$minErr' of undefined angular-resource.js:8
...
0
votes
0answers
20 views
Selenium and node-replay
Hi I am having trouble connecting node-replay to selenium (where I am running my protractor tests for my angularjs app).
My tests run with grunt:
grunt protractor
And they work fine.
But now I ...
-2
votes
0answers
35 views
Can someone bring me up to speed on Node.JS and Angular.JS? [closed]
Sorry if this belongs on programmer.stackexchange -I wasn't quite sure.
I am a junior .NET developer for a bank and am interested in picking up a new language (mainly to do simple freelance dev work ...
0
votes
0answers
41 views
Use $http request and set $scope in the success function, why the firefox can't show the correct results
I did some modifications on kibana-authentication-proxy,
dashLoader controller:
module.controller('dashLoader', function($scope, $http, timer, dashboard, alertSrv, $location) {
$scope.loader = ...