AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever(MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications.

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

Manipulating inline style based on angular controller does not work in IE

I wanted to set the position of a div based on the return value of a function in an angular controller The following works fine in FireFox and in chrome but in Internet explorer {{position($index)}}% ...
0
votes
0answers
6 views

Button Disabled/enabled on check-box state with Angular

So i have created a reusable directive and using it in two different forms but unable to able/disable the button in form which changes according to the check-box state in directive.I want disable the ...
0
votes
1answer
9 views

Is HTML5-mode URL routing with AngularJS possible when in local-file based apps (with file://)

I appligize if this has already been asked already but I can not find any information about this. I have an AngularJS application which will be accessed from the hard drive (not from a HTTP server) ...
0
votes
0answers
16 views

AngularJS how to dynamically split list in multiple columns

I have a number of li items which I want evenly distributed across 3 different columns. So I need the 1st third of the list items to be shown in the first ul, the next third in the 2nd ul etc. Right ...
0
votes
0answers
7 views

CSS Dynamic 3D carousel, z-axis positioning

I'm creating a 3D carousel using CSS and javascript. For testing and developing, I've uploaded what I have so far on this page: http://dev.rushfivedesigns.com/ When you get to the page, please hit ...
0
votes
1answer
5 views

How to bind content of tag into into directive's scope?

Say I have a directive like such: <my-directive>This is my entry!</my-directive> How can I bind the content of the element into my directive's scope? myApp.directive('myDirective', ...
-1
votes
0answers
21 views

having problems sending email with php

First I have to say that I am new to php and angularJS. I have been trying to send a contact form input to an email using angularJS and php. Can you please take a look at my code and let me know ...
2
votes
2answers
27 views

ng-repeat: populate drop down options with array

I have a simple JavaScript object that looks like this: $scope.obj = { "'Architect'": ["asdf","d","e","y"]}; I'd like to show the values of 'Architect' in a select box. However, the single quotes ...
0
votes
1answer
24 views

open page in new tab in angularjs

I am using angularjs framework. I have ng-grid having a column containing link text. On that link click, I want to navigate to different page within the same application. I wanted to pass some ...
1
vote
0answers
13 views

CSS issue testing AngularJS directives with Karma + Jasmine

I'm using Karma + Jasmine to test my AngularJS directives, I wrote more than 300 tests and I was very happy... until I found an issue that taken me here because I'm stuck: some tests are failing ...
0
votes
1answer
24 views

Angular ng-include onload method not working properly

I am using foundation and angular for the most part I have it working but ran into a small problem. I am using foundation tabs and when my angular controller wires it up the first tab seems duplicated ...
0
votes
1answer
8 views

How do I return specific list of items via AngularFire $asObject or $asArray

I am trying to learn Firebase AngularFire, using the new methods $asObject or $asArray, along with a data structure recommended in the blog post Denormalizing Your Data is Normal . Let's say I have ...
0
votes
0answers
6 views

Yeoman's Angular.js codelab - fixing the tests

I complete the tutorial from this codelab, and as suggested tried to fix the errors on the unit tests. But i don't know how to fix this error. I already took a look at this ...
0
votes
1answer
28 views

Using ng-options with a JSON object not working

I am trying to take an object and have a <select> that uses the key, value pairs to assign the value and label of the <option>s. For some reason it is not showing up correctly. I have ...
1
vote
3answers
21 views

can't use $httpProvider and locationProvider in angular.js

I am new to angular.js. And I used the $httpProvider and $locationProvider <script src="lib/angular/angular.min.js"></script> <script ...
0
votes
2answers
18 views

AngularFire service not returning values?

My very simple data model: Partners Name OrigBal And this is the code: <!DOCTYPE html> <html ng-app="myApp"> <head> <title>Testing</title> </head> ...
0
votes
0answers
15 views

Angular file upload with Grunt

I'm trying to create a file upload for an Angular application served with Grunt. I would like users to be able to browse their local file system for a file to upload. I think I'm missing a piece of ...
0
votes
1answer
14 views

angular auto bootstrap mvc

I seem unable to get a named angular application to auto-bootstrap inside of a view in an MVC application. I can use the ng-app directive to work. I can even get it to work naming the application ...
0
votes
3answers
28 views

Yet another AngularJS Error: ngRepeat:dupes

I am playing around with Angular and I have stumbled on another issue. I am trying to pull data from an external js file and I received the 'Error: ngRepeat:dupes' error. <div class="productRow" ...
0
votes
1answer
16 views

Typescript AMD and AngularJs - Failed to instantiate module

I'm unsing TypeScript AMD (RequireJs) and AngularJs. I want to use AMD for my typescript code and not for the rest: jquery, angular, bootstrap, ... For thirdparty js I'm using MVC bundling and I want ...
1
vote
2answers
27 views

Simple promise with Angular's $http

I find myself doing things like this a lot in my Angular services: getStats: function() { var deferred = $q.defer(); $http.get('/stats').success(function(stats) { deferred.resolve(stats); ...
0
votes
0answers
5 views

Using Nodemailer with data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0

Hi I am using the following nodemailer code: // setup e-mail data with unicode symbols var mailOptions = { from: results.send, // sender address to: results.recieve, // list of receivers ...
0
votes
0answers
16 views

angularjs ngRepeat leaving html behind when template contains another ngRepeat

I have a controller with an array of people mainCtrl.People. Each person has an array of telephone numbers. index.html <div ng-repeat="people in mainCtrl.People"> <ng-person ...
0
votes
1answer
16 views

Is there a way to insert Javascript code exclusive for “grunt build”?

I'm building an application with AngularJS and Grunt, and i have a particular line of code that i would like to use only in the "dist" version of my app, is there a way to tell grunt to delete that ...
0
votes
0answers
14 views

Link a page that I have created at views

I am editing an app developed using MEAN framework. I have footer.html from views, and I have just put a link like: <li><a href="#!/privacy">Privacy Policy</a></li> Then I ...
-4
votes
0answers
15 views

how to drag/drop with javascript ng-grid

I am looking for ways to be able to drag and drop rows and cells within an NG-GRID in Javascript. I am able to drag and drop rows and cells in a table but unable to do the same in NG-GRID. I like to ...
0
votes
2answers
20 views

Is there a way to know the name of the model used in a directive?

Suppose I have the following directive: .directive("counter", function () { return { restrict: "E", scope:{ bindModel:'=ngModel' ...
0
votes
2answers
19 views

Why does an angular $http call that fails repeat itself infinitely?

I have: this.isAuthenticated = function() { var deferred; deferred = $q.defer(); $http({ url: "" + endpoints.authService + "api/v1/session/check", method: 'GET', withCredentials: ...
0
votes
0answers
9 views

KendoUI not working with AngularJS Routing

I have setup the following routes in app.js var loginApp = angular.module('loginApp', ['ui.router']); loginApp.config(function($stateProvider, $urlRouterProvider) { ...
0
votes
0answers
55 views

AngularJS $http incorrectly returning 500 error

I have an Angular frontend that is sitting on top of a Laravel API. The API includes a route for logging out a user (/api/v1/logout, GET). When I access this route in a browser or using Postman it ...
0
votes
1answer
16 views

How to securely set authorization header using angularJs?

It is common to authenticate to web services using an authorization header which contains a secret token. And since the security of this mechanism depends on the token to be secret care should be ...
0
votes
1answer
35 views

What is Django's purpose in single page applications?

I'm looking to create my next application using Django and AngularJS, but the role separation between each framework has me a little confused. Am I correct in saying that Django would only be ...
0
votes
1answer
20 views

ng-class: active selected item from navbar AngularJS

I have a view which contains two templates (one on the left side of view and other on the right view). In the right template I have a panel which contains a navbar. I want that when I scroll on the ...
0
votes
1answer
10 views

AngularJs: Adding input selected files into an array and displaying the files name in a ng-repeat directive

I have an interesting question concerning AngularJs. I am attempting to create a dynamic list of image files which the user can add to an array before he/she submits them. I would like the added files ...
0
votes
2answers
21 views

AngularJS form validation on dynamically generated input directives not working with ngForm

I'm trying to validate dynamic form input generated using a directive and isolate scopes. Outside the directive I've got the main form, and inside the ng-repeat I'm trying to use ng-form, but it ...
-1
votes
2answers
19 views

Angular ngOptions and filter

I'm trying to filter an array on ngOptions: Here a plunkr: http://plnkr.co/edit/OxL84mDdma9iS13wMnIX?p=preview I have this array: $scope.keys = [ { id: 1, name: ...
0
votes
0answers
6 views

How to populate add-row form programmatically for Kendo UI grid (AngularJS)

I have an order line grid where I need to be able to open the popup editor form programmatically with the edit form fields pre-populated (using AngularJs). In the HTML, I have a lineGrid and an ...
0
votes
1answer
24 views

Angular Directive variable not getting sent back to rootscope

I have a file upload angular directive that works WHEN NOT placed inside of a tabset. In the code below you will see that after a file is selected, and uploaded, it sets scope.$parent.file = file; ...
0
votes
2answers
15 views

Fetch .json with Anguarjs $resource

So I have a web server that is handling my .json files. On the client side a have a simple service : var service = angular.module('services.service', ['ngResource']); service.factory('Service', ...
0
votes
0answers
16 views

I need to make AngularJS call Rails controller methods, how?

I want to do this as simply as possible, no bower, angular-route or anything like that. Just simple pre-included AngularJS services/factories like ngRoute, ngResources, etc. Please help me make these ...
0
votes
0answers
7 views

dist-built AngularJS (with grunt) throws exception while dev-built works

I've got a AngularJS project set up with Yeoman/Grunt and Flask as somehow integrated Backend. I use the flask-app for serving all the angular-files in develop(grunt server) and as well in production. ...
-1
votes
2answers
41 views

fail to call REST end points using angularjs

i need to integrate my App with other service by calling it's REST end points am new to angularjs and i read the documention and i found this way which is not working for me i still dont get any data ...
0
votes
0answers
7 views

Angular-tree-ui JSON Data with $http

I'm currently been using the angular-tree-ui component, which is a nice little component that allows nesting of hierarchical data with drag and drop support. All has been going well until I started ...
0
votes
0answers
15 views

How to determine what is causing Garbage Collection (GC) Events in ng-Repeat Angular.js?

I have a ajax call to the server to retrieve some JSON data, and then set a scoped variable "array" to a JSON array. The 2D array contains arrays, which can be undefined, or containing objects After ...
0
votes
0answers
16 views

How to manage resolve data with some model logic

I got something like this: .state('Main',{ abstract:true, resolve:{ User : ['UserService',function (UserService) { return UserService.getData(); }] } }) An ...
0
votes
0answers
17 views

How do I load multi-tier data using AngularJs?

Having trouble loading n-tier data via Ajax requests. I first load my applications using Ajax and render them to the screen (works). After they have been loaded, I need to load child data based on ...
0
votes
0answers
3 views

Implementing angular-ui-router with java servlet webapp context path

Basically the problem is related to the path ui-router redirects when page is reloaded. I have java application with context kiosk-ui so the url is: http://localhost:8080/kiosk-ui. The client side ...
1
vote
1answer
23 views

How to easily determine what's added/removed in a $scope.$watch?

I am tasked with wrapping a JQuery-style UI component within an Angular directive. I have completed the task but it looks rather ugly. The underlying component's API only has add and remove methods ...
0
votes
3answers
30 views

Angular.js ng-repeat no data using json

I have a project I am working on where I have a json array (that will later come from a web service) and I am trying to use ng-repeat to load that data into a table. (I have done this before, this ...
0
votes
0answers
5 views

AngularJS $anchorScroll with scrollLeft

I have four images of a pdf application that I'm overlaying user inputted data on top of. I then need the users to sign the application so I implemented a directive that utilizes jSignature and ...