Questions tagged [angular-fullstack]

Related to Angular Full-Stack Generator project

Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node - lets you quickly set up a project following best practices.

https://github.com/angular-fullstack/generator-angular-fullstack

357 questions
0
votes
1 answer

Type error: TypeError: Cannot read property '_id' of undefined

I have been working on Building an Angular + Node Comment App using Yeoman. I am unable to resolve the error "TypeError: Cannot read property '_id' of undefined". This is my /api/comment/index.js file 'use strict'; var express =…
0
votes
1 answer

Create account with social login (facebook) and authenticate it angular-fullstack generator

I'm facing a problema with social signup because its not logging after its created as in local signup. When redirects, api/users/me is not accessible..is unauthorized (401), different from what i get in local signup, that redirects with user…
0
votes
1 answer

How to do login page first in angularjs

I new with angularjs and I'm trying use this generator-angular-fullstack, I want the page login first and not the main, I play with the code and my solution is to add 'authenticate: true' in MainCtrl angular.module('myapp') .config(function…
0
votes
1 answer

Karma unit test fails in phantomjs

After fixing alot of erros in the testing, now Karma output is this: PhantomJS 1.9.8 (Windows 8 0.0.0) Controller: MainCtrl should attach a list of t hings to the scope FAILED Error: Unexpected request: GET /api/marcas No more…
0
votes
1 answer

page loads recursively when calling the templateURL

I am using angular full stack generator and created a directive. When I am using the templateUrl, the whole page is recursively loading. But when I try include the html using the template, it works correctly. Any way how to debug this issue?
zilcuanu
  • 3,451
  • 8
  • 52
  • 105
0
votes
0 answers

angular rootscope infdig error with auth interceptor

I have an angular fullstack app generated from angular-fullstack yeoman generator and I have the following error in my browser console - Uncaught SyntaxError: Unexpected token e angular.js:1072 SyntaxError: Unexpected token e at Object.parse…
0
votes
1 answer

get the old value of the scope

By this code I'm trying to take a copy of event before editing or any changing in the event view to implement cancel button , so I copied it to oldValue variable, but the event and oldValue are always empty because ( as I think ) they execute before…
user2099451
  • 639
  • 3
  • 8
  • 20
0
votes
1 answer

Ways to deal with a lot of extraneous code in controller

Using Angular Material in the angular-material-fullstack Yeoman generator, I am incorporating a toast: var last = { bottom: false, top: true, left: false, right: true }; $scope.toastPosition = angular.extend({},last); function…
alanbuchanan
  • 3,993
  • 7
  • 41
  • 64
0
votes
0 answers

how to have 2 angular apps in yeoman and grunt

I want to make another app in the yeoman using angular fullstack, how can I make it and keep it separated from the first app ? I have created new html file in the client/app and a new application js also ... but this app is not downloading
user2099451
  • 639
  • 3
  • 8
  • 20
0
votes
0 answers

PUT request overwrites array values with duplicate values

I am making a small polls app with Yeoman's angular-fullstack generator. I have got to the stage where I am implementing user selection to increment a polls count, which then updates my MongoDB database via a PUT request. Question is set up ready…
alanbuchanan
  • 3,993
  • 7
  • 41
  • 64
0
votes
0 answers

Using PUT to update a vote count

I am making a simple full-stack javascript polls app using Yeoman's angular-fullstack generator. I have got to the point where I need to log user input to register a vote on an individual poll's answer. Currently, my code affects the client-side…
alanbuchanan
  • 3,993
  • 7
  • 41
  • 64
0
votes
1 answer

GETting, and then POSTing, based on user selection

I am making a small polls app using yeoman's angular-fullstack generator. I have setup some dummy data for polls. When the user clicks a poll, they get routed to a view page where they can input their choice based on the answers set for the…
alanbuchanan
  • 3,993
  • 7
  • 41
  • 64
0
votes
1 answer

Problems with Sass when using angular-fullstack generator

I have set up a webapp using Sass with Yeoman's angular fullstack generator. It seemed to be running fine, until I realised errors that were being output every time grunt tries to run a task. Here's the…
alanbuchanan
  • 3,993
  • 7
  • 41
  • 64
0
votes
3 answers

How i can maintain angular-fullstack client and admin different template

I want to use different different types of template in client side and admin side using angular-fullstack. Can you please let us know how i can achieve this. My routes look like Ex: www.sitename.com - main site with theme1…
krish007
  • 46
  • 9
0
votes
1 answer

passing parameter to Angular application state

I have made yoman angular fullstack app setup. I am making use of ui.router in application. I have defined state parameters as .state('tour', { url: '/tour', templateUrl: 'app/tour/tour.html', controller: 'tourCtrl', params :…