Skip to main content

All Questions

Tagged with
375 votes
17 answers
560k views

No 'Access-Control-Allow-Origin' - Node / Apache Port Issue

i've created a small API using Node/Express and trying to pull data using Angularjs but as my html page is running under apache on localhost:8888 and node API is listen on port 3000, i am getting the ...
user1336103's user avatar
  • 3,869
336 votes
5 answers
111k views

Difference between MEAN.js and MEAN.io

I wanted to use the MEAN JavaScript Stack, but I noticed that there are two different stacks with either their own website and installation methods: mean.js and mean.io. So I came up asking myself ...
CMPSoares's user avatar
  • 4,185
312 votes
13 answers
683k views

How to reload or re-render the entire page using AngularJS

After rendering the entire page based on several user contexts and having made several $http requests, I want the user to be able to switch contexts and re-render everything again (resending all $http ...
andersonvom's user avatar
  • 11.8k
309 votes
17 answers
460k views

How do I fix the npm UNMET PEER DEPENDENCY warning?

I'm on Windows 10, with Node 5.6.0 and npm 3.6.0. I'm trying to install angular-material and mdi into my working folder. npm install angular-material mdi errors with: +-- [email protected] +-- UNMET ...
Reza's user avatar
  • 5,568
296 votes
34 answers
512k views

ERROR in Cannot find module 'node-sass'

Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3 When I run npm start in my angularjs project I get this error: ERROR in Cannot find module 'node-sass' After this I run: npm i node-...
bier hier's user avatar
  • 22.1k
206 votes
5 answers
59k views

Is AngularJS just for single-page applications (SPAs)?

We are looking at options to build the front end of an application we are creating and are trying to evaluate a tool that will work for us and give us the best platform to move forward. This is a ...
Modika's user avatar
  • 6,272
177 votes
15 answers
630k views

How npm start runs a server on port 8000

I recently used a angular-seed folder from github for angular application development. In some previous angularjs tutorial there was a script folder and a server.js file in the angular-seed folder ...
user3724677's user avatar
  • 1,861
159 votes
36 answers
143k views

Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version

I am getting the below error: { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version Here are my ...
navra's user avatar
  • 1,591
122 votes
10 answers
48k views

What's the use of Jade or Handlebars when writing AngularJs apps

I am new(ish) to the whole javascript full stack applications, and completely new to Angular, so I was hoping somebody can put the record straight for me here. Why would I need to use a templating ...
Jay Pete's user avatar
  • 4,211
108 votes
6 answers
92k views

Difference between jQuery vs. AngularJS vs. Node.js [closed]

I'm just starting web development, and so far I know: HTML - layout of website CSS - make it look pretty JavaScript - functionality Then what is jQuery, AngularJS, and Node.js? After doing a quick ...
K Split X's user avatar
  • 4,371
97 votes
22 answers
477k views

WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 400

I am trying to integrate Socket.io with Angular and I'm having difficulties making a connection from the client-side to the server. I've looked through other related questions but my issue is ...
ashe540's user avatar
  • 2,151
85 votes
7 answers
322k views

Reading Excel file using node.js

Okay so i am using the FileUploader module to upload my file from angular to my REST API: var uploader = $scope.uploader = new FileUploader({ url: api.getUrl('uploadCompetence',null) }); This is ...
Marc Rasmussen's user avatar
80 votes
7 answers
68k views

Do I need node.js to use Angularjs?

I would like to use angular.js for my Image Editing Tool in my website. Do I need node.js also? I don't understand the scenario. If I don't need it, then when do we use both nodejs and angularjs ...
Manikandan Arunachalam's user avatar
78 votes
6 answers
54k views

Structuring a Node.js and AngularJS application

I'm about to attempt my first AngularJS project, and it makes sense to use Node.js for the back end, even though it means learning both AngularJS and Node.js from scratch at the same time. The first ...
jonhobbs's user avatar
  • 27.6k
75 votes
10 answers
63k views

AngularJS - server-side rendering

As you may know, AirBnb opensourced Rendr (http://nerds.airbnb.com/weve-open-sourced-rendr) which should enable server-side rendering of Backbone apps. This is cool, because one can run the first "...
tillda's user avatar
  • 18.5k

15 30 50 per page
1
2 3 4 5
613