Tagged Questions
0
votes
1answer
35 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
16 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
28 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
47 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
18 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
42 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
...
1
vote
1answer
41 views
Converting a web app into an embeddable <script> tag
I just did a proof of concept/demo for a web app idea I had but that idea needs to be embedded on pages to work properly.
I'm now done with the development of the demo but now I have to tweak it so ...
0
votes
0answers
81 views
MEAN stack installation gives 304 and 404s
I am getting these 304 and 404s when I go to http://myipaddress:3000 after I tried to install the MEAN stack
$ node server
Express app started on port 3000
GET / 304 973ms
GET ...
0
votes
1answer
17 views
angular-phonecat tutorial - web-server.js giving 404 errors with node.js
Hi there I'm running through the angular phonecat tutorial but I'm stuck already on step-0 with the node.js http server returning 404's for /app/index.html
I do have other http servers installed on ...
0
votes
0answers
35 views
enable/disable bootstrap navs/pills
I have the following in my view.jade file
ul.nav.nav-tabs
li.active
a(id="page1" href="/form/n400/page1" eatClick) Page 1
li
a(id="page2" href="/form/n400/page2" eatClick) ...
0
votes
0answers
18 views
Passport.js - trouble getting back profile object for Runkeeper
Currently trying to setup authentication a Node/Express/Angular app with Passport and calling to Runkeeper is a key feature.
I am successfully able to get my login to redirect to Runkeeper and ...
0
votes
2answers
83 views
Prevent access to admin pages in AngularJS
I'm wondering what the best approach in AngularJS is to secure admin pages, i.e. pages that normal users shouldn't be able to see. Obviously, there will be back-end authentication but since the ...
0
votes
3answers
97 views
What are the NodeJS tools(framework, IDE, etc) for web server development that I need? and why? [closed]
I've been dreaming to develop a very fast and large scale web server/application. By that, i mean it is for RESTful and "REAL-TIME" app, and it could scale up to handle millions of users and bytes in ...
0
votes
2answers
36 views
express and angularJs $location.path not redirecting to /
Here is my AngularJs code in app.js file
var CarApp = angular.module('CarApp',['ngResource'])
CarApp.config(function($routeProvider){
$routeProvider
...
1
vote
1answer
107 views
How to fix error “Please set env variable CHROME_BIN” when running Angular.js with grunt
I am trying to do unit tests with AngularJS. I already have bower and grunt installed, so I should be able to do the tests. However, when I run "grunt test" from the terminal (Git Bash in my case), I ...