Questions tagged [meanjs]

MEAN.JS is a full-stack JavaScript solution for building web applications using MongoDB, Express, AngularJS, and Node.js.

MEAN.JS is a full-stack JavaScript open-source solution, which provides a solid starting point for MongoDB, Node.js, Express, and AngularJS based applications. The idea is to solve the common issues with connecting those frameworks, build a robust framework to support daily development needs, and help developers use better practices while working with popular JavaScript components.


Documentation :

Related Tags for the used applications:

  • The database itself
  • The interface from express to the database.
  • web application network
  • other tag for the same web application network
  • the web frontend in the version 1.x.x
  • the javascript framework to develop and publish.
877 questions
2
votes
1 answer

Intermittent "element is not found" in protractor

In Protractor, I am trying to write a function to simulate clicking a responsive navigation menu item (i.e. menu is either a bar of dropdowns across the top or a hamburger link if mobile). The structure of the bar is defined by MEANJS with a few…
Doug
  • 642
  • 1
  • 4
  • 14
2
votes
1 answer

Structuring a navbar that will change based on type of account logged in

I have a web design question that I'm trying to puzzle out. Essentially I'm looking to design a navbar such that it will change what buttons/links are displayed in the navbar based on what type of account is signed in. So if a standard user is…
Trofee
  • 33
  • 5
2
votes
1 answer

Html base tag breaks the # reference

I am creating an HTML5 application with angular. To work I need to add the base URL in the html header. Then when I click en the footnote, it do not redirect to the correct url. http://micd.herokuapp.com/#fnref2:1 Instead…
Alexis Paques
  • 1,885
  • 15
  • 29
2
votes
0 answers

Meanjs using passport authentication dynamic redirectURL

The meanjs template creates an OAuth call back function that looks like /** * OAuth callback */ exports.oauthCallback = function(strategy) { return function(req, res, next) { passport.authenticate(strategy, function(err, user,…
Leo
  • 1,495
  • 23
  • 41
2
votes
0 answers

AngularJS Module sub dependencies available to sibling modules?

First, some context for my question, which is also explained in the MEAN.JS docs: my angular app Foo is bootstrapped from my init.js file, which has this line: angular.element(document).ready(function () { angular.bootstrap(document,…
JaKXz
  • 1,665
  • 1
  • 14
  • 34
2
votes
1 answer

How to Install fontawesome to meanjs project

I changed bower.json file to install FontAwesome like below and run npm install. It installed FontAwesome 4.3.0. I added the font-awesome.css by using confg/env/all.js. In the browser I can see the font-awesome.css has added to the html. But I can…
Janith Widarshana
  • 3,213
  • 9
  • 51
  • 73
2
votes
1 answer

in a MEAN.js stack, where can i configure the jshint warnings?

im developing a mean-stack based application, and suddenly im getting 750 errors in 150 pages because of jshint, none of these errors create a problem in the sense that the code is breaking, so this huge list just junks up my console with warnings…
David Nelband
  • 417
  • 1
  • 4
  • 17
2
votes
0 answers

MEANJS HashBang Removal

I'm using MEANJS and I'm wondering if it's possible to remove the #! from the urls and still have Express pick up the urls? I can remove #! from the urls in angular but then Express doesn't pick up the urls and has issues when using the social sign…
Caleuanhopkins
  • 175
  • 1
  • 16
2
votes
1 answer

Trying to update MongoDB using Angular

How do I update an array element within a MongoDB Schema. I am using Mongoose to help handle the data manipulation. The field within my schema I want to change currently looks like this: players: [ { type : Schema.ObjectId, ref: 'User' } ], I…
2
votes
1 answer

How to make changes once MEANJS app is deployed?

So this may be a basic question, but I am unable to figure this one out. Also this is my first MEAN app, so excuse the ignorance. I have successfully deployed my MEANJS app onto the remote server in a test folder. Everything is working fine. I then…
kvnam
  • 1,285
  • 2
  • 19
  • 34
2
votes
1 answer

memory leak detected when running on linux:

I tried to increase the no.of listeners using Event Emitter. But it's not working. The same is running with no warnings in windows. (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to…
2
votes
2 answers

MEAN.JS Contact Form

Trying to create a contact form and feedback form for my website. Here is my route and controller I'm using however I need to understand what's going on with my routes and how to capture the input fields from the form implement this inside…
Tyler Canton
  • 571
  • 6
  • 14
2
votes
2 answers

Mean js - display updates in real time

I'm new to meanjs, I just created a new module for adding products. These products are displayed in the home page. But the display in home page is not getting updated real time. I just added new product in one tab, and the products list in the other…
I'm nidhin
  • 2,592
  • 6
  • 36
  • 62
2
votes
1 answer

How to Inject Dependency to Meanjs Modules?

I am Injecting Dependency to Meanjs Modules For the First time. I see something confusing Dependency Injection at My research Example(i am Trying to Inject): I need to Inject a spinner to all of my modules Steps I did: Do bower install…
user4653711
2
votes
1 answer

Session handling in mean stack

I am new to MEAN stack, presently the mean stack is inserting sessions to mongodb: app.use(session({ saveUninitialized: true, resave: true, //cookie: { maxAge: 600 }, secret: config.sessionSecret, store: newmongoStore({ db:…
Nandish
  • 125
  • 2
  • 11