0
votes
1answer
37 views

How to Save ng-repeat $index to DB ( rownumber: 1.1 ,1.2,1.3) using angularjs

I am working on index page of book functionality i.e : 1.1 1.1.1 1.2 1.2.1 where 1.1 & 1.2 is parent ng-repeat & 1.1.1 & 1.1.2 is child ng-reapet now i want to ...
0
votes
1answer
25 views

CORS error :Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response

I am trying to send the request from one localhost port to the another. I am using angularjs on the frontend and node on the backend. Since it is CORS request, In node.js, i am using res.header('...
0
votes
0answers
15 views

Attaching pdf generated by jspdf to email nodejs

I am trying to send a pdf generated in my applicaitons frontend (angular) using jspdf to my backend (nodejs + express) so that it can be attached to an email. I can succesfully save the pdf on the ...
0
votes
0answers
11 views

.NET Angular using RequireJS

I created a new ASP.NET Empty Web Application in Visual Studios 2013. I have an angular project with the following directory structure: ├───TestProject │ ├───index.html │ ├───package.json │ ├───...
-1
votes
0answers
10 views

Webpack breaks angular app, constantly get 'app not defined' despite seeing it in log

Everytime I try to use webpack, no matter how many configurations I have tried, I am unable to get my angular apps to work correctly. I try to inject angular and it works, but its like my controllers ...
0
votes
0answers
26 views

Multi sites using the same code different theme color and logo

I will be using the same angular application for many sites, the only difference is going to be the color of the CSS and the logo. Therefore I decided to use LESS to declare a variable as a color of ...
0
votes
1answer
19 views

How to do a get request with all idRefs

I have 2 models in my project, 1 is stores and the other is products, the stores has a reference to products like this: produtos: [ { type: mongoose.Schema.ObjectId, ref: 'Produto' } ] and basicly ...
0
votes
0answers
9 views

upload image for specific user is not working with molter

im trying to do a simple image upload when i submit my registration form, basicly i want to save all the data that i send and then retrive the image for the user when i need, so i did this: view &...
0
votes
1answer
16 views

Different index.html for angular app

I would like to use different index.html for my client. I would like to have a /backend with a index.html and different views (working) I would like to have a / where I want to implement some forms ...
-2
votes
0answers
19 views

How to log in as an admin in Mean.js?

REFERENCES: Mean.js github: https://github.com/meanjs/mean Mean.js website: https://meanjs.org/ https://www.google.com/?gfe_rd=cr&ei=4hKXWIXnO6rC8gf8_7uoDA&gws_rd=ssl#q=make+a+certain+user+...
2
votes
1answer
52 views

Drop down list and values

I having a problem in setting the values of dropdown list. Here I am pasting my code. HTML Code: <form ng-submit="save()"> <table style=" table-layout: fixed;" class="table"> <thead&...
0
votes
1answer
35 views

why meteor npm install --save angular-ui-grid dont work?

I have a very big problem, with meteor npm install, I using: Meteor Angular Meteor I try to import ui-grid like uiRouter or angularUBoostrap (as you can see in the image). But is imposible. Is not ...
0
votes
0answers
27 views

Heroku Deploy Failing but Local Build and Compile Succeed

Angular app using node, bower and gulp. Problem When trying to log in on Heroku: TypeError: w is not a function Initial builds in local environment were fine. Gulp build and was able to login. Gulp ...
0
votes
2answers
36 views

Not able to update document in mongodb from node.js

I am developing an online course application and I am trying to add new video lectures for a particular course, once the course is created. Once a course is created, after that, if we try to add new ...
1
vote
1answer
31 views

Using ExpressJS and AngularJS

I'm learning NodeJS and Express. I'm using Node and Express along with 2 Node modules to get the client's IP address. That part is working fine. I'm having trouble trying to use AngularJS (1.x) to ...
0
votes
1answer
18 views

Send user online/offline status to Laravel with socket.io

I have a chat app as real-time with socket.io. I want to save online/offline status on the database in Laravel back-end. For online status I don't have problem, but for offline status, I don't have ...
1
vote
1answer
19 views

can't get and retrive user data after login

I'm a newbie with angular and I'm basicly trying to set and get user data via an angular service. First thing I do is when I log-in I connect to my node route and return the data if the user placed ...
0
votes
2answers
29 views

angular http get with node js

I am querying data from mongodb and sending that as a json to a URL querying data from mongodb router.get('fillSurvey/:ID', function (req, res) { Survey.findOne({_id:req.params.ID}, function ( ...
4
votes
1answer
46 views

Why does my url contains “!” when using angular?

I just started with MEAN stack and i'm following some TUTs. I'm using the npm-views from Angular and trying to redirect an html a tag to another html file. However when I go to localhost:3000 I get ...
0
votes
0answers
14 views

How to create angularjs directive with browserify?

I'm getting tripped up on the syntax, and my overall understanding. I've tried to create a directive as an element, and I get a repeating loop where it tries to load angular more than once. Does ...
0
votes
0answers
12 views

Using Angular in node-red to build a table with each cell data being manipulable using its own addres?

I'm trying to implement a system in node red for an internship project. First I've been tasked with creating a UI. So I created a function node which produces the dummy data for me. It produces two ...
-1
votes
0answers
20 views

how to decrease packet travelling time using express gzip compression

Gzip express compression is working very well. It has compressed 8 Kb to 2 Kb but there is no reduction packet travelling time. Travelling time not reduced.
0
votes
0answers
17 views

Monitoring agent alongside Protractor testing | Read from chrome console

I want run some script alongside Protractor testing which will be checking some content on page if is visible and showing error. It can be checking the "frame" on page every Protractor step, and it's ...
0
votes
0answers
14 views

How do I get user info to persist client-side after authenticating via passport-facebook?

Ok, so the problem seems simple enough, but apparently it's not. For clarification, I'm using the MEAN stack. I have passport-facebook authenticating my users, and I'm also using express and ...
0
votes
1answer
21 views

How to lazy load with angular using mongodb data

I want to implement lazy loading in angular.js, i am sending the list of data from backend to the UI using nodejs, i need to implement, on scroll 10 items, are there any examples to achieve this ...
0
votes
1answer
43 views

NodeJS POST results in undefined

All my requests work perfectly except when I try to add an item to an array of json elements, it will return undefined every time. Controller: vm.addOptie = function () { var newOptie = {...
0
votes
2answers
14 views

Open file explorer in ionic via $ionicActionSheet.show()

I am trying to open file explorer in my ionic app when user clicks on button in Ionic ActionSheet. This can be simply accomplished by putting <input type="file"> in HTML templates. But I am ...
0
votes
0answers
32 views

Large file uploads fail with access denied

We're implementing an API, where a large file is to be uploaded locally to the main server. Everything works fine until we try uploading large files (>= 4GB); Those fail immediately before even ...
0
votes
0answers
25 views

How should I run my angular service file independently

I have a angular js service angular.module('abc', ['pqr']) .factory('testService', ['$soap',function($soap){ var base_url = "https://helloworld.net/cbapi/report"; return { ...
0
votes
1answer
28 views

Angular ui-routing with domain aliases

We use Angular-UI-Router to navigate to our website. That is working fine. But we want to use domain aliases which point to a specific page of the website, with the url of the alias in the addressbar. ...
0
votes
0answers
13 views

How to send response from server in nodejs to generate pdf in frontend using angularjs

Can you anyone suggest me, I have two cases in the backend for same request. In first case server has to respond in json format and in second case I need to send arraybuffer data in json response. ...
-1
votes
0answers
40 views

Socket.io listening an array result from API route

Hi I am using the FullStack Angular Generator and I am trying to understand how to use socketIO. Despite all tutos I begin to be really confuse. I would like to listen a specific array, result from an ...
0
votes
2answers
27 views

egghead.io webpack angular tutorial

I have problems with the tutorial webpack-angular from egghead.io. I'm in the step 3 "ES6 with Babel". I need your help because I would like to resolve it. I'm following your tutorial and I'm ...
0
votes
0answers
22 views

Module not found errors in angular-cli

i am trying to deploy the website on local machine , I downloaded below mentioned dependencies and then ran command ng serve but i am getting this error log-> (susper_env) [vibhcool@localhost ...
0
votes
0answers
14 views

Does browser-sync support http post?

Issue details when i submit a from data from another mobile device, it does not post anything in the PC browser that I want to sync with the mobile device. The code below is work for posting from ...
0
votes
0answers
21 views

Node-JS dist folder not getting updated dynamically

I'm developing MEAN Stack application having front end in Angular JS and using visual studio 2015 as editor. We used an RDash angular template from following site http://startangular.com/product/...
1
vote
0answers
30 views

Populating data from referenced models in different modules in MEAN.JS

I am absolutely new to the MEAN stack, and I am using the MEAN.js(ver 0.4.2) generator for my project. I am using the default users module and created a new module 'Topics' using the module ...
0
votes
1answer
14 views

Mongoose Arguments must be aggregate pipeline operators

We are trying to build a function in NodeJS that allows us to use that function with find or aggregrate parameters and returns the result. The find option works fine, also the limit and offset does. ...
-1
votes
0answers
7 views

want to use template engine syntax in script

I want to access each element of shows collection individually for further calculations but it is not working.I am able to display those element in HTML using course video but unable to fetch them ...
0
votes
0answers
19 views

Use templateUrl instead of inline template in angular/typescript npm package

I have my own NgModule published and installed via npm. Currently the template of the component in the imported module has a inline template. The template got huge (200+ LOC) over time and it would be ...
0
votes
0answers
20 views

Node.js Promise.all scope issue [duplicate]

I am having trouble understanding why the following Promise is failing on the scope of one of the next Promise functions: "Cannot read property 'ddb' of null" on the this.ddb....
0
votes
0answers
17 views

Get express session with angular

I'm trying since this morning to solve that, but still a big nope :S. Basicly I have a store that is my user, and have products associated to the store. Evertime I do a login I send a request to my ...
0
votes
0answers
11 views

Angular 2cli/webpack… ng serve error [closed]

This is the error i keep encountering, Please how do i solve this?? No errors Error: No errors at validate (C:\Users\Adebowale\myauthapp\node_modules\extract-text-webpack-plugin\schema\validator.js:...
1
vote
1answer
36 views

$q.allPromises returns an array but I only want one element, and not all

Im using $q.allPromises(http request).then (function (data) { //more code logic }) It works the first time but I call this method 24 hours later and find that "data" is an array of Objects and it ...
0
votes
0answers
36 views

Authentication with Passport in separate applications API backend and APP frontend in Stack MEAN

I created two apps in the frontend with AngularJS that consume a single API (NodeJS, Express and MongoDB). When trying to protect the resources I need to redirect the route in the express /auth/...
0
votes
0answers
31 views

Trying to get IP address from Nodejs to display in browser using AngularJS controller

I forgot I had asked this question, the ANSWER is here I'm trying to use an AngularJS controller to display an IP address from Nodejs, I can't quite seem to get the $http part of the controller ...
1
vote
1answer
27 views

IBM Watson Conversation - angular integration

I'm new to Angular and I would like to integrate a Watson conversation bot into my angular module, but i can't include a library in Angular. I am using botkit-middleware-watson to get the Watson ...
0
votes
1answer
21 views

Angular 2 page not found when refresh

I have a problem, i push my project on production with the function enableProdMode() and i have a multiple component and i create my routes const appRoutes: Routes = [ { path: '', component: ...
0
votes
2answers
15 views

Injecting angularFileUpload not working

this sound like a simple question but i am a newbie with angular, basicly i want to use AngularFileUpload to upload images on my website, so i did this when i initialize my app: var app = angular....
0
votes
2answers
56 views

Angular JS can I load a service just on the js I need it and not in the app.js?

I tried doing something like: var vehicle_info = angular.module('psngr.vehicle_info', []).factory('vehicle_info', ['$rootScope', '$timeout', '$q', vehicle_info]); var name = vehicle_info....