Questions tagged [mean-stack]

The MEAN stack is a methodology that employs MongoDB, Express, Angular / AngularJS, and Node.js to provide a complete end-to-end system. One of the primary motivations for such a stack is that it is pure JavaScript at all ends. Two different implementations are available: mean.io and mean.js

MEAN (an initialism for Mongo, Express, Angular, Node) stack can be implemented just as LAMP stack is implemented, with or without a specific framework or architecture as the four technologies can be implemented in completely different ways.

A ready-to-go implementation is available at meanjs.org.

Related tags:

3884 questions
1
vote
3 answers

Mongo check if a document already exists

In the MEAN app I'm currently building, the client-side makes a $http POST request to my API with a JSON array of soundcloud track data specific to that user. What I now want to achieve is for those tracks to be saved to my app database under a…
leaksterrr
  • 3,800
  • 7
  • 34
  • 65
1
vote
1 answer

Trying to show a image from Angularjs controller

We've decided to use Mean.io in order to get a quick MEAN stack installation, but we're finding some troubles to get things done. I'm trying to show a picture from my header js controller. But it doesn't show up. In fact, what i see when i open the…
Rubén Jiménez
  • 1,835
  • 5
  • 21
  • 29
1
vote
0 answers

Not all fields are rendered in data-ng-repeat

I have following code to render a menu in MEAN.JS:
  • Burak
    • 5,706
    • 20
    • 70
    • 110
    1
    vote
    1 answer

    Angular binding not working when using popover directive

    I have this input field in a form in my AngularJS app: The…
    Reydel Leon
    • 1,035
    • 2
    • 11
    • 34
    1
    vote
    1 answer

    External library variable not defined

    I'm trying to include a javascript library (WaveSurfer) into my Angular app (Using Mean.io). The problem is a warning appears into the console each time I run grunt : In packages\tracks\public\services\tracks.js : 'WaveSurfer' is not…
    1
    vote
    1 answer

    How to integrate jenkins with mean stack application

    I have a Mean stack application and i want to add jenkins CI to it. I am not sure as to how to achieve this. I am using bower to install front end packages and npm for other stuff.
    SCRock1987
    • 11
    • 2
    1
    vote
    2 answers

    NodeJS GZip Compression - Any Issues?

    So I am generally quite new to the MEAN stack and had some questions regarding compression with the NodeJS / express combo. After digging around I noticed it is not feature that is widely used and it had some issues in the past (zlib) and also has…
    iQ.
    • 3,811
    • 6
    • 38
    • 57
    1
    vote
    2 answers

    Angular ng-repeat filter on subarray

    Using Angular, I'm trying to filter using ng-repeat on FactorName given the following schema. Filtering using <... ng-model="query.Factors.FactorName" ...> doesn't work (not surprisingly). I haven't seen literature on anyone trying to filter in…
    1
    vote
    1 answer

    How do I change meanio so that it points to mongo at a different port/address?

    I've installed meanio and setup a project folder. I can use grunt to run the project and it works fine. I'm having an issue trying to find where to change the mongodb address and port so I do not have to use mongo locally and at a different port.
    a''''
    • 35
    • 3
    1
    vote
    1 answer

    Validation errors in custom instance or static methods in a Mongoose model

    I have a basic Mongoose model with a Meeting and Participants array: var MeetingSchema = new Schema({ description: { type: String }, maxNumberOfParticipants: { type: Number }, participants: [ { type:…
    Arthur Frankel
    • 4,695
    • 6
    • 35
    • 56
    1
    vote
    1 answer

    How do I route the mean.io system to my custom theme package?

    I want to create a theming engine which would require me to override the system's state.provider pointing to it's view/index.html file. Is there a way I can reroute the home page without modifying the system's package? When using the mean.io stack,…
    Alexander Romero
    • 401
    • 5
    • 10
    1
    vote
    1 answer

    MEAN-stack mongoose, where do functions go?

    So I'm fairly new to the mean-stack and I'm using mean.js as a framework. Using Yeoman I've made a new CRUD module called groups. In a group I want to be able to have an owner, the user who made the group, and a collection of members. According to…
    Difusio
    • 789
    • 1
    • 8
    • 22
    1
    vote
    1 answer

    Correct pattern for adding references on update of a MongoDB collection in the MEAN stack

    I'm in the learning process of the MEAN stack and I'm using meanjs.org as a starting point and used it to generate scaffolding for a new object. I'm trying to figure out how to implement the correct pattern in the client Angular code in addition to…
    Arthur Frankel
    • 4,695
    • 6
    • 35
    • 56
    1
    vote
    1 answer

    Mean Stack delete callback

    I have my Mean stack delete functioning properly; however, I can't seem to figure out how to update the view with the updated JSON once deleted. My express server side logic: .delete(function(req, res) { Service.remove({ _id:…
    byrdr
    • 5,197
    • 12
    • 48
    • 78
    1
    vote
    1 answer

    AngularJs Trigger Factory on $resource event

    I'm trying to build a logging system for events on a number of various $resource. I have a factory that I've built that does exactly what I would like, however, I don't want to pollute my controllers with unnecessary code, i'd like to get the logger…
    flashpunk
    • 772
    • 2
    • 13
    • 38
    1 2 3
    99
    100