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
4 views

Session timeout - HTTP Status code -1 in Spring boot + Angular application

My application is using spring boot & angular. I am handling session timeout in Angular Interceptor's "ResponseError" function. At server side , I added a HTTPSessionListener. I tested this ...
0
votes
0answers
5 views

Jasmine return rejected in a mocked factory's promise

My controller's init: var init = function () { httpUsers.getUsers().then(function (data) { $timeout(function() { // Do something... }); ...
0
votes
0answers
5 views

View Model Not Updating - Apply/Digest Already Running

I have a strange issue, and I am hoping I am missing something obvious. "Sweet Alert" just pops a prettier angular modal - the isConfimed block executes when you click "Ok" on the modal. Here is the ...
0
votes
1answer
6 views

Ionic / Angular on hover while touching / clicking?

So I am trying to mimic css :hover class on mobile. In my app you can click and drag on things, and when drag over top of elements I need those elements to get a class that changes its z-index and a ...
-1
votes
1answer
12 views

Getting error if response is with 500 return

I have my node js response return code as below. It works fine when the return value is success. And if the return value is not found, i get statusErrorCode as 500 which is throwing error as unhandled ...
0
votes
0answers
5 views

Angular-Meteor mongo data not being rendered

I am working on an angular-meteor app and trying to loop through my database to display its data dynamically but am unable to. Heres my controllers, routes, collections and views. ...
0
votes
1answer
10 views

Angularjs - query parse.com $stateParams

I’m looking for support on a query using $stateParams in Angularjs. The query is returning undefined. I have an array of photos in a news feed. Clicking on a photo should take you to a new page of ...
1
vote
1answer
16 views

How to use Angular charts with my info?

I am trying to use Angular Charts, the second chart in those Docs actually. the info they put is this $scope.labels = ['2006', '2007', '2008', '2009', '2010', '2011', '2012']; $scope.series ...
0
votes
1answer
4 views

got error for injecting my custom service in Jasmine

I can't inject my custom service in Jasmine. The error is [$injector:unpr] Unknown provider. I have created Plunker <a href="http://plnkr.co/edit/hoOHky54TIqnjAizR986?p=preview">example ...
0
votes
0answers
13 views

Array won't load when you first click on the link Angularjs?

// SETTING UP SERVICES app.service("PictureService", function($http) { var Service = {}; Service.pictureLinkList = []; // GETTING PICTURE LINKS FOR PAGE $http.get("data/img_location.json") ...
1
vote
0answers
15 views

How to pass a promise of an object on a ternary operator?

so I am implementing the Angular Material Design md-autocomplete directive on an AngularJS application. I want to send a promise to the control so if the query is not fully loaded, it won't throw an ...
0
votes
0answers
7 views

angular-bootstrap-lightbox is loaded with requirejs, but shows lightbox not defined

https://github.com/compact/angular-bootstrap-lightbox (library) I'm using requirejs library to load angular-bootstrap-lightbox. angular-bootstrap-lightbox gets loaded, but when I run the function I ...
0
votes
1answer
7 views

custom date .filter does NOT show dates in iOS ONLY .split method approach

We managed to display dates in our app the way the clients wanted them. It was a difficult task for us but we were happy with the result. We are using Ionic Framework and the following ERRORS are ...
-1
votes
1answer
10 views

Put Parse.com JSON Objects into angular $scope Array

I want to put Parse.com JSON object into angular $scope, but my code seems not working I want to get 'title' from the 'objects' and put it as array in $scope.title And this is some part of my js ...
0
votes
0answers
8 views

Why request from angular slowly then clear request better? [on hold]

This question, about performance. SO I have WebApi working with angular client. Angular request more slowly then reqest from fidller. Do you know any reason for this issuee ?
0
votes
1answer
7 views

How to access a Provider setter method

I have a Provider that I use to set some configuration, based on the environment. (function() { angular.module('testProvider').provider('TestProvider', TestProvider); function TestProvider() { ...
3
votes
2answers
28 views

How do I inject $cookies into an AngularJS service?

I read the documentation for $cookies at this link, and it suggests using the following syntax to inject $cookies: angular.module('cookiesExample', ['ngCookies']) ...
-1
votes
0answers
9 views

From selenium webdriver to Protractor

I have been working with Selenium webdriver and appium using only java for a while, now i am thinking about learning protractor, should I know Javascript, angularJS for this? How to start with ...
0
votes
0answers
6 views

Why does state.go with notify = false cause a future navigation to keep the current page's URL parameters?

There are some pages in my application where I'd like to update the URL with the current state so that the URL can be shared, but I don't want to reload the page because I can enter the new state ...
0
votes
0answers
3 views

Uploading image to a node via Angular to Drupal 8 using REST

I have figured out how to upload files from Angular to Drupal 8 ...... submitCommunity: function(params) { var package = { "_links":{"type":{"href":"http://dang.dev:8888/rest/type/file/file"}}, ...
1
vote
1answer
10 views

Sharing controller for multiple directives not working

Plunker Code I am having an issue getting the ng-class to work in the flipCard directive's templates. Technically it does work, if I set the property immediate in the controller it will add the css ...
0
votes
0answers
6 views

Ionic CLI not respecting --v2 tag

I'm a long time Ionic user and set out to start my first Ionic 2 app. The docs say that this will work: $ npm install -g ionic@beta $ ionic -v => 1.7.10 $ ionic start newApp --v2 But when I run ...
1
vote
0answers
6 views

Use REST API with CAML query to fetch the files inside multiple folders in single REST Call

I have a scenario where i would like to fetch all the files from multiple folders using REST API. I would like to filter the data in such a way so i can ignore the folders and fetch only the files ...
0
votes
0answers
11 views

SaaS app with angularjs and nodejs, how do i organize different clients?

I’m trying to decide what to do I this scenario: I want to create a product that I want to sell in a SaaS business model, I already have the backend more or less thought out and some code in place in ...
3
votes
0answers
23 views

Angular Recursive Directive with ngModel

I have learned much about recursive directives recently, but there are still a few things I just don't get yet. This post in particular solved most of my problem: Recursion in Angular directives ...
0
votes
1answer
13 views

relative templateUrl in directive in AngularJS

I have a directive that looks like this: angular.module('customDirectives', []) .directive('searchResult', function() { return { templateUrl: 'app/directives/templates/searchResult.html', ...
0
votes
0answers
11 views

Problems with animating, translate and scale doesnt work with position absolute

I have a popup in my main view, it could be just a product or a list of products. In the first case the position of the popup is in some point of the view (top and left, i already have a method for ...
1
vote
1answer
8 views

Protractor Page Object Model Javascript Sync

Page Object Model File: var loginPage = function() { console.log('Constructor~!'); }; loginPage.prototype = { constructor: loginPage, login: function () { console.log('now I ...
1
vote
1answer
16 views

Iterating over a an array of dicts with angular js

In one area of my HTML file I am setting a scope variable like so: $scope.my_data = [ { c1: "r1c1", c2: "r1c2", ...
0
votes
0answers
22 views

AngularJS variable from form to PHP variable

Hello everyone and thanks for coming here to help out. My issue here is that I need to some how put this variable (I am not even exactly sure if this is a variable, because I don't know much at all ...
0
votes
2answers
12 views

How can I send array in form field with angularJS

I want insert dynamic fields into a form. For example: I have a field list like: <input type="text" name="names[]" class="name-1"> <input type="text" name="names[]" class="name-2"> ...
2
votes
0answers
28 views

How do I manage cookie values in AngularJS service?

An AngularJS service receives a cookie from calls to a backend REST service. The cookie value is used as the value of a variable, so that the value of that variable can persist across repeated ...
-1
votes
1answer
18 views

Can CSS be affected by the server and browser being used?

Description I have been working on a project and the display works beautifully in every browser when run locally on my machine. It is a basic form that pulls data from a server upon a click event. The ...
0
votes
0answers
10 views

collapsable data row in angular js

I would like to display parent and child related data in collapsable format without using panel. Code: <div ng-app="app" ng-controller="customersCtrl"> <table ...
0
votes
1answer
19 views

AngularJS $routeprovider Routing in Mutitab

I was using this example to build the login page angular-authentication-example Once login to this app the home screen should have multi-tab view as mentioned in the below example plunker ...
-1
votes
0answers
19 views

Form data line endings for textarea

When submitting a form, we are currently getting line endings with just "\n". This is just using the native Angular routing. But we're also using the ng-upload module, which also submits text data in ...
-12
votes
0answers
28 views

Make calls from PC to mobile [on hold]

I want to create an application that receives a mobile number then dial it. (in c#/js) I know there are services like Twilio but I want to build it by myself so it will be cheaper. I read about this ...
0
votes
0answers
4 views

Using ui-tinymce Directive in Another Directive

I'm trying to use the [ui-tinymce][1] directive inside of another directive: angular.module("risevision.widget.common.font-setting", ["ui.tinymce"]) .directive("fontSetting", ["$templateCache", ...
1
vote
2answers
27 views

Angular translate in array quotation

I'm using angular-translate along side with custom directives in angular. I've made this "Menu" directive which displays buttons with text and accepts those button strings in an array like this (so ...
0
votes
3answers
39 views

What's the best way to append an element using angular?

My objective is to show a grid of products and ads between them. warehouse.query({limit: limit, skip: skip}).$promise .then(function(data) { for (var i = 0; i < data.length; i++) { ...
0
votes
1answer
21 views

Cannot use Angular 1 directive in Angular 2 app using upgradeNg1Component()

I am trying to make a hybrid angular app using Angular 1 & 2. I have a simple angular 1 directive: var sample = angular.module('interestApp',[]); sample.directive('myComp', function() { return ...
0
votes
0answers
14 views

Failed to load template: /app/views/home.html (HTTP status: 200 OK)

I'm working on an AngularJS front end for my ASP.NET MVC project. I want to display the contents of /app/views/home.html when the application starts. However, when I debug the app, the above error ...
0
votes
1answer
25 views

Unbind ng-change Angula JS

Hi I want to know is there is a way to stop a ng-change function from been executed programatically. I am building a search suggestions feature that calls an API using ng-change (passing the input, ...
0
votes
1answer
17 views

Angularjs $location undefined inside controller

I have injected $location service to controller. But $location service is not defined inside method. Please help. ...
0
votes
1answer
12 views

rails with angular, 404 error video path to variable

I am making a web-app with ruby on rails. I am currently seeking to add angular to my app. I made a separate simple angular app and I intend on merging both apps together. I found success in merging ...
0
votes
0answers
8 views

Mean Stack -> Sequelize Mysql Association

I am trying to create an association between two tables. I am receiving an error that the tables are not associated. 'use strict'; module.exports = function(sequelize, DataTypes) { var Product = ...
1
vote
1answer
9 views

angular-nvd3 sparkline and trailing currentValue number

I'm just starting to get to know nvd3. I'm actually using angular-nvd3 to build a sparkline. What I'm not finding an option for is how to get rid of the trailing currentValue. I thought showValues ...
0
votes
0answers
30 views

Two observable variable dependent on each other

I need advice on how to make observable variable currentShop dependent on variable shopList. AppComponent reads shopList through shopProvider. It works without a problem, but I need to modify the ...
0
votes
1answer
32 views

How to change check state of parented checkbox group

I have several dynamic checkbox groups (ul>li>checkbox>ul>li>checkbox) and need to change the check state of the parent to unchecked if children are unchecked or to indeterminate if only one child is ...
0
votes
0answers
4 views

Error: [$compile:tpload] Failed to load template

I've got numerous directives in my Angular app, all of which seem to work as expected 95% of the time. Recently I've been running into a problem where on occasion I get a $compile.tpload error for one ...