Tagged Questions
0
votes
1answer
19 views
Yeoman - generator-angular error at init app deployment
I have installed npm, Yeoman and got everything working, the webapp generator works like a charm. I want to get into angular development and therefore tested the generator-angular.
I did everything ...
0
votes
0answers
34 views
AngularJs -> Node.js -> .Net WebApi [on hold]
I have an application written in .Net WebForms. The business that is using this is supportive of me moving it to a web platform. In addition, he is ok if I were to sell/license it to other companies ...
1
vote
1answer
28 views
In angularjs 1.0.8 not works PUT rest service
I have angularjs application which have CRUD Rest service. Create, Read and Delete methods works well, but PUT not works.
I found on Stackoverflow and there are the same problems with accepted answers ...
0
votes
0answers
15 views
Can't get angular and socket.io to run in tests using either Jasmine or Karma
I'm having difficulty getting my test to run, and can't figure out why.
I have a server and client, client is running Angular.js with socket.io, server is running socket.io.
From what I understand, ...
0
votes
1answer
29 views
nodejs expressjs angularjs routing
i want to redirect from an express function to an angularjs partial to load with the controller of that view.
app.js -->nodejs
function(req, res, next) {
console.log(req.session);
...
1
vote
0answers
24 views
Paypal express checkout for nodejs application
I have a simple web app using nodejs which has some products. I have setup my own cart using angularjs, and I want the simplest way to implement paypal payment. I have been breaking my head for the ...
1
vote
1answer
42 views
Index file being returned for all requests
I'm relatively new to web development. I'm using node (with express) and angular JS. While the solution may be simple, I can't determine why the contents of every requested file (css/javascript/html) ...
0
votes
2answers
30 views
Is there a way to load in a file on nodejs without packaging it?
I wish to have the contents of an entire file evaluated in node - in this case, the angular.js source file.
the code should look something like this:
jsdom = require("jsdom").jsdom;
document = ...
0
votes
0answers
70 views
Which Javascript framework to learn in 2014? [on hold]
There is a similar question made in 2011 (Which JavaScript framework (jQuery vs Dojo vs ... )?). I went over and over to check for a more UPDATED answer but could not find one.
Just learned ...
0
votes
0answers
26 views
The best deployment architecture for angularjs nodejs app
I have Moto Adverts application in angularjs and nodejs.
Angularjs-client-side is running on Apache HTTP Server (localhost:8000) but nodejs-server-side is runnning as node.js http server ...
0
votes
0answers
21 views
Trouble Setting Up Skeleton Angular Application
I keep getting this error while trying to set up this skeleton application. I have no idea how to fix it sadly. Any input would be much appreciated. I'm just trying to get the darn thing up.
...
1
vote
3answers
47 views
How to unserialize JSON data in Express/Node.js
So I have on the client side within a controller:
$scope.authenticate = function() {
var creds = JSON.stringify({email: this.email, password: this.password});
...
0
votes
0answers
23 views
Plugin system using mean stack
I'm planning on using MEAN stack for a kinda big application.
I'd like that application to be based on plugins. Ideally, each plugin should be able to :
Define node routes, controllers, models ...
...
0
votes
0answers
47 views
Angular JS, node.js and sails.js infinite loop
I have made my frist angular + node.js app, works fine so far local, after I uploading this to server, I can't use the application:
http://sails.webdepot.info:1337/#/home
You can see multiple ...
0
votes
1answer
66 views
Passport AngularJS ExpressJS: Origin null is not allowed by Access-Control-Allow-Origin
When I'm trying to use $http module of angular.js for authorizing twitter app I always get:
XMLHttpRequest cannot load https://api.twitter.com/oauth/authenticate?oauth_token=something. Origin null is ...
0
votes
0answers
21 views
how can i fix it url characters is not supporting and facing error 404 on post request Angular js
i am new one with angular js so in url characters is not supporting how can i fix it and
facing error 404 on post request here i am attaching my code and error if any one can help must be ...
0
votes
0answers
27 views
Listen to google sheets cell change
Is there any way to listen to a change event on Google Spreadsheets cells?
I'm writing a web app using AngularJS and Node.js. My goal is to query the raw of the cell that changed.
0
votes
1answer
39 views
REST request not allowed
I'm currently developing an AngularJS client with a node REST service. I get this error when I try to use the REST service locally:
XMLHttpRequest cannot load http://tasks.dev:12345/articles. Origin ...
0
votes
1answer
47 views
Direct linking to route (e.g., /articles/:articleid) returns plain JSON, skips AngularJS and DOM
I have a multipage blog based on https://github.com/linnovate/mean.
Right now when I go directly to a /articles/:articleid type url, all that I see is plain JSON ({"title":"this is the ...
0
votes
3answers
71 views
Is it necessary to use JADE when building Angular Apps with Node and Express?
Is it possible to build angularJS apps with plain HTML, ExpressJS on NodeJS ?
0
votes
1answer
55 views
How to start programming something like mohiomap? [closed]
I'm thinking about creating a mindmap webapp for my own purpouses.
I would like to incorporate a layout like they do at https://www.moh.io/mohiomap/welcome.php.
Can anybody give me any hints on how ...
1
vote
1answer
43 views
Issue in angular js routeProvider
I have a problem in angular js routeProvider. If i am clicking register or login link then its not going to the next page just shows url like this. http://localhost:3000/#/register or ...
0
votes
0answers
22 views
Relying on 'disconnect' event in socket.io/express.io when using Angular's single-page app engine
How is it possible to add a 'disconnect' event whenever I leave a page that is intercepted by my single page application engine?
I have certain events set up (kind of like streaming events on ...
0
votes
1answer
103 views
CORS trouble with nodejs and AngularJS
For some reason whenever I try to post some data to my api server I get the following two errors.
OPTIONS http://localhost:3000/test2 Request header field Content-Type is not allowed by ...
0
votes
1answer
97 views
Angular.js and Express: Routing is not working
I've scoured the internet for somebody with a similar problem, but still no solutions. In comparing my app to Angular-Express-seed, Angular-Express-Master, and any of the other popular examples out ...
0
votes
0answers
34 views
Substituting JavaScript values based on Grunt task; best approach?
All,
I do not have any specific code to share as I believe the Grunt configuration of tasks is fairly straightforward.
What I would like to ask is for recommendations on replacing JavaScript ...
1
vote
1answer
46 views
how to force angular to send request to server on htm5 mode
I m tring to build and web using angular and nodejs. i m loading angular on /home path where / contains login and registration form
here is my angular configuration:
...
1
vote
1answer
20 views
How to go to a url which is parent to a url where angular config is defined
let me tell about my app: I m trying to build a webpage using node and angular. on / (root) url i m providing form for sign up and login. i didnt use angular here. after successfully logged in i m ...
0
votes
0answers
66 views
blueimp jquery file upload in AngularJS with Node.js server
I´m trying to integrate a Blueimp Jquery File Upload plugin in my application. My application has an AngularJS front-end running in a Node.js server and a Rails API backend running in a WEBrick ...
0
votes
0answers
19 views
Grunt-connect-proxy redirect?
I've got an application with AngularJS in front-end and Java Spring 3 in backend.
So when i run grunt-server i use grunt-connect-proxy to contact the backend part form the frontend part.
So my ...
0
votes
1answer
33 views
Package *.html templates in Require.js Optimizer?
How should one package the HTML templates (aka 'partials') in an Angular.js app when it is concatenated + minified for distribution? Is there a good way of including them in that single file, or ...
0
votes
1answer
58 views
$routeProvider not working and make request to the server with node.js
I get Cannot GET /login when I pull localhost:5000/login in the url . So the $routeProvider is not working and loading the view. Instead it is making the request to the server so basically it is ...
0
votes
1answer
66 views
NodeJS HTTP request from AngularJS
I'm currently developing a web application using AngularJS on the fronted and NodeJS on the backend with express. I've had trouble requesting my backend API from the fronted however and hope you guys ...
0
votes
2answers
52 views
How do I work with Mongodb Queries in a node JS MEAN stack
I am using the linnovate MEAN boilerplate to build an application: https://github.com/linnovate/mean
With MongoDB I understand how to query a collection on the database and get the results via the ...
0
votes
1answer
38 views
can I use karma to test page interaction like drag & drop?
I'm evaluating end to end testing of a MEAN stack app. There's a few critical spots in the app where drag and drop (via a directive) is used. I can't find any information about using karma to test ...
0
votes
4answers
72 views
Can I or Should I use a Global variable in Angularjs to store a logged in user?
I'm new to angular and developing my first 'real' application. I'm trying to build a calendar/scheduling app ( source code can all be seen on github ) and I want to be able to change the content if ...
0
votes
1answer
26 views
Pluralization in mongoose/angular
I have an issue with pluralization in Mongoose that Im sure is easy to fix but I cant figure it out myself.
So, I have a Model called "Eventinstance" and a controller called "eventinstances". Either ...
0
votes
1answer
64 views
Node.js Rendering big amount of JSON data from the server
I have an view that has a for loop that inserts rows to a table. The table is very big and already consisting of couple of thousand of rows.
When I run it, the server throws out of memory exception.
...
0
votes
1answer
26 views
Dynamic post/put routing in ExpressJS
I'm using Angular on the client side, Express on the server. I've got two forms on the same page. I need both forms to post to the same URL, but use a different controller method, depending on a ...
0
votes
1answer
27 views
AngularJS Protractor and Socket.IO
When setting up an E2E test with my existing angular app, I am having trouble getting starting since I am using socket.io in my application. Protractor can't find the socket.io files that are ...
0
votes
1answer
53 views
AngularJS socket.IO Bootstrap Modals only once
I have a problem with bootstrap modal window when using AngularJS together with NodeJS and socket.io. I have been googling and it seems like it is issue that has a solution, but for some reason it ...
0
votes
0answers
122 views
Using database in AngularJS - where should I write DB connection code?
I'm now building up a web app using Node.js, AngularJS and either MySQL or MongoDB. However, when I tried to use AngularJS with a controller which includes datasets fetched from database, I wonder ...
0
votes
2answers
78 views
Sails.js application not refreshing files from assets after start
I have a Sails.JS application with Angular.JS front-end.
The angular files are stored in /assets/linker and they are injected properly on start. My issue is that when I change css or js file from ...
0
votes
1answer
35 views
NodeJS return JSONP NOT using express
Im trying to call my nodejs server and show the results from an angularjs app. ive been following an example, but when i change the example code for my code, it always calls the error callback. i have ...
1
vote
1answer
65 views
Components of Web Application - Express.js, Angular.js and MVC confusion?
I've come across a lot of posts on Stack Overflow about Express.js being used with Angular.js and how there are two MVC components to both the client and back-end sides of the web application, but ...
0
votes
1answer
129 views
Warning: Task “karma” not found when running grunt test
http://www.sitepoint.com/kickstart-your-angularjs-development-with-yeoman-grunt-and-bower
After following this interesting guide about Angular, Yeoman, Bower and Grunt I was able tot bootstrap an ...
0
votes
1answer
32 views
Angularjs: Node server that supports html5mode?
I'm locally developing an Angularjs app. I'm using the same node web server as in the Angularjs tutorial. The link to the code for the web-server on Github.
The problem is that I can't seem to get ...
0
votes
1answer
154 views
AngularJS/Jade Error: Argument 'MyController' is not a function, got undefined (MEAN)
I know variations of this question have already been asked several times, but I've tried several suggested solutions for other OPs, haven't been able to resolve this, and would appreciate some ...
-1
votes
2answers
81 views
What are these Node.js and javascript frameworks and what do they do? [closed]
Can anyone explain or provide a link or a video that explains what all of these are and why I should care? How do they fit into the big picture? How would they fit together if used together?
Bonus ...
0
votes
1answer
61 views
Yeoman application - using custom nodejs server
I am starting a development of node.js & anular application using Yeoman tool for all its awesomeness (or so they say) but I am wondering about one thing.
After my application is generated there ...