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. The ...

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

Angular http and spring boot rest service

I am calling a spring boot REST service from my angular UI. It worked good as long as the Spring Boot Rest service was executed as a Spring boot App. But once i converted it to a WAR file and deployed ...
0
votes
0answers
6 views

How can I reorder/sort an array logically after a tile is moved in the layout?

I have an array called 'selectedTiles' <div gridster> <ul> <li gridster-item="item" ng-repeat="tile in selectedTiles"></li> </ul> </div> ...
0
votes
1answer
7 views

Count number of elements in $resource.query() object

I'm trying to count the number of elements returned from $resouce.query() object, so that I can increment it and use it as the ID for the next object to be saved. Following is a service to ...
1
vote
1answer
6 views

Passing status code from Laravel not received by Angular http

I'm building a front end Angular App, and a separate Laravel 5.1 API. I'm testing registration validation by POSTing duplicate e-mail addresses. When it throws an error with status code, return new ...
0
votes
0answers
9 views

$resource error even after adding dependency to ngResource

I am trying to display data in an angular app using $resource, from mongolab. I added dependency to ngResource in the module. Still it says Unknown provider. What is the missing point here? ...
0
votes
0answers
13 views

how to display model attribute in angular using Spring MVC

I am trying to switch from a pure javascript implementation to a approach using angular. I am kind of not able to figure how to use the model attribute with the form that is now using angular js . ...
0
votes
0answers
6 views

Angular and Mongo - Database design

have a question for you - regarding angular and mongo. I’m having a hard time figuring out how to structure my database. I know mongo is (not quite) schema-less… but the site I’m building for my ...
0
votes
0answers
4 views

angular datatables prevent consistently render

I use angular Data-tables. and use .renderWith method int DTColumnBuilder but it is rendering consistently. I don't want it. How do I prevent it?
0
votes
0answers
14 views

Refused to set unsafe header [duplicate]

In the API docs I'm working with, it lists an example like the following as an example of how to make requests to their API POST https://api.com/v1/reporting/ HTTP/1.1 Authorization: Bearer ...
-1
votes
0answers
11 views

Ionic, Geolocation, Google Maps API and multiple markers

I'm trying to display multiple markers at the same time in a map, but the function that I have created for display all the markers isn't work. the markers are inside a json file and I take them using ...
0
votes
0answers
16 views

HTML AngularJs CSS Form submit

I'm having a problem when I submit the form. So.. I fill all data on the formulary then I click save... The data is correctly saved, but after the submit, the fields are cleaned and then the inputs ...
0
votes
0answers
4 views

Create PDFMake table cells from angularjs .forEach loop over array

The code below renders the following PDF: Link to PDF on Google Docs. (I was not allowed to paste a picture into this post) There are song titles and chord progressions for each song. What I am ...
0
votes
0answers
25 views

How to assign Angular Service object to $scope object

I'll try to keep this as simple as possible. I have a controller for State 1 that saves a form object(with several fields) to the Service array upon submit and then proceeds to the state 2. On the ...
0
votes
0answers
12 views

Displaying server data on angular js Grid

In an offline web app , I want to dispaly server data on am AngularJS grid. I have a jsfiddle example new JSFIDDLE it displays default data . This code sync server ...
0
votes
0answers
11 views

Calling Google drive picker api from inside Angularjs module in a Google web app page

I'm building a Google web app with angularjs, I have a button and I want to select a file from my google drive inside this we app I already have it working without angulajs the problem is that this ...
1
vote
1answer
14 views

How do I get the menus become fully independent

I have this project http://codepen.io/neuberfran/pen/LZEgEr But when I click in second menu, change the first menu How I fix this issue? How I implement AngularJS in this project to do toggle LED ...
0
votes
0answers
11 views

Ionic-toggle not working with ng-repeat

I'd like to use ionic-toggle with ng-reapeat but something went wrong. This rendering well in Ripple emulator, but not showing at all in Android emulator. Here is markup: <ion-toggle ...
0
votes
0answers
4 views

Unable to get ion-tabs to refresh

I have an ionic framework application working. It has three tabs at the bottom that change depending on the security role of the user that logs in. However if I log out and switch users I have to ...
0
votes
1answer
19 views

Image Not Displayed in HTML

The Image is not displayed with the below code. But if I can see //xyz.jpg?h=100&w=100 in browser. What might be missing? <img class="item-thumbnail pointer" data-ng-if="!isPdf()" ...
1
vote
0answers
14 views

Provide template with expressions as attribute on directive

I'm wanting to pass a "template" into a directive, by means of an attribute. Here's a trite example of what I'm trying to accomplish: This HTML: <greeter person-name="Jim" ...
0
votes
0answers
5 views

Can't share Facebook image post with Cordova Facebook plugin

I've created a Cordova/Angular app that pulls a Facebook feed from the api. I'm now trying to add the ability to share a post on your own timeline. I'm using the Cordova Facebook plugin found here ...
0
votes
1answer
24 views

How can I dynamically reorder an array after a tile is dragged and dropped?

I have an array of tiles that start off in the following position: <div gridster> <ul> <li gridster-item="item" ng-repeat="item in standardItems"></li> ...
-2
votes
0answers
10 views

Image not shown when an image from outside app is chosen

template: '<span>' + '<img class="item-thumbnail {{metThumbClass}}" data-ng-if="!isPdf()" data-ng-class="{\'pointer\':showPointer()}" ' + ...
0
votes
1answer
12 views

Angular dropdown not being selected

I have a dropdown in Angular that is not selected. I already added the value to the ng-model the particular address of the json_array selected however, it is not being set in the dropdown. Here is my ...
-2
votes
2answers
24 views

JavaScript/jQuery - Convert from 24 Hr Datetime String to 12Hr Date format?

var timeZone ="CDT" var startDateTime = "2016-06-15 22:30:00.0"; this.outDate = function() { return getJustTime(startDateTime,timeZone); } function ...
0
votes
1answer
20 views

How to track the progress of a large OrderBy

I have a standard enough dynamically filled table in bootstrap that is instantiated with the following definition <table> <tr ng-repeat="c in controller.items : ...
0
votes
0answers
12 views

ng-model passed through directive with ng-if and ng-include [duplicate]

I'm having problems passing ngModel through my directive. I have simplified the directive quite a bit to contain only relevant code to the issue. app.js var app = angular.module('plunker', []); ...
0
votes
0answers
10 views

Google AdSense ads in Angular 2 components?

I'm trying to load some Responsive ads in an AdComponent in my app. The component is dead simple: import { Component } from '@angular/core'; import { FORM_DIRECTIVES, CORE_DIRECTIVES } from ...
0
votes
0answers
23 views

How to remove table and cells borders when they are clicked

I created a table like this: <table class="table table-without-margin"> <thead> ... </thead> <tbody> <tr ng-show="row.sprint == ...
1
vote
1answer
25 views

Angular 2 issue: typings: command not found

So this might come off as a really basic question but it has been bugging me for days now and haven't actually found a solution. I'm installing typings from the command line with npm and it appears ...
0
votes
0answers
10 views

Finding the coordinates of a node in D3.js

I am trying to get the x and y coordinates for nodes, and then use those coordinates to draw a straight line from one node to another if the edge has been specified to be straight: for (var x = 0; x ...
0
votes
0answers
16 views

Why formatted value not displayed properly in angular?

I have created a directive to format and display amount fields as 2 decimal place like 3.00, 2.45 etc. Below is my directive code in TypeScript: module App.Common.OnlyDigitals { interface ...
-1
votes
0answers
11 views

How to build an autocomplete feature with Angular.js v1.3.14 or newer [duplicate]

I’ve found this fiddle which is a great example of how to create a autocomplete feature with angular.js. However, it doesn’t work with newer versions of angular, specifically v1.3.14 and newer. How ...
0
votes
1answer
10 views

Angular and preloader for an ajax template

I have a dashboard with several templates. In one of the templates, I have a simple list. I'm using ng-repeat on my li's and that way I keep my list dynamic. But here's the thing - Since I'm ...
0
votes
0answers
6 views

angular 2 subscribe sets variable as null

I use Angular 2 rc1. BlogComponent.ts retrieves data and works fine. BlogDetailComponent.ts retrieves data but when subscribing it to a variable, it is null. Weird... Should I import ...
0
votes
0answers
8 views

Spring MVC + AngularJS + JWT Token Expiration - HowTo

I would like to ensure that my JSON Web tokens are revoked/expire after a configurable ammount of time and i have the following set up: Security Filter: import io.jsonwebtoken.Claims; import ...
0
votes
1answer
16 views

Issues achieving search filter results via shared scope between controllers

In a nutshell, I am trying to get the text entered in a search field associated with one controller in one view to display the search results in a completely different view associated with a different ...
0
votes
1answer
25 views

angular.js app with linked panels

I am learning Angular and i am ok with the basics however i have a situation where i have 3 interlinking panels or panes. You select the category from the first pane, it populates a list of products ...
0
votes
0answers
16 views

$scope watch is working with old values

I have 2 controllers and a service, these are for test purposes. What happens is when I load page1 that has controller1 attached I get a select with ng-repeat of all employees (working all fine). When ...
0
votes
0answers
44 views

JS Button not working in HTML

A button that I am using to call a function, in js, on click is unfortunately not working. It has worked before, in an other environment, but currently in mine it does not. I am using angular, ...
0
votes
2answers
18 views

Convert date in UK format and Django format to real date

I am trying to convert booking.date, which is in the following format 01/06/2016 to the format 'EEEE, MMMM d, y' (Wednesday, June, 1, 2016). I've tried the following AngularJS filter date but it ...
0
votes
0answers
9 views

How to define multiple views with parent child state using UI router?

Is it possible to define multiple views in child state with parent child state relationship using UI router? I have the following code in my config $urlRouterProvider.otherwise("/child"); ...
0
votes
0answers
7 views

How can I create an angular popup when leaving ng-repeated view when there are unsaved changes?

I have successfully created a generic popup using angular $setPristine() on save, and checking if the form is `$dirty' on page unload. However, I am having to check with another event as well. I ...
0
votes
0answers
10 views

Angular Charts Reactive / Scopes

I know there are many questions that go in a quite similar direction, but I guess my knowledge of angular js is not good enough to find the solution by myself. I struggle with angular-chart.js. I ...
0
votes
1answer
22 views

AngularJS: refresh ng-options when property source object changes

Full description: I have list of options with multiple properties (not just key-value pair): [ { id: 1, name: "111", some: "qqq" }, { id: 2, name: "222", some: "www" } ...
0
votes
1answer
18 views

angular filter in ng-repeat with <=

I'm using angular and ng-repeat to iterate over data. I want to show only items where purchased-used <=5, but it is showing 5, 4, 55, 3, 33, 2, etc., as the result set where it should only show ...
0
votes
1answer
12 views

Angularjs: custom directive scope is undefined

I am creating a directive that process data from attribute value. the directive is only going to be used as an attribute on an element. So for now i just want to run a function whenever it is called ...
0
votes
0answers
6 views

Angular: how to post a file to the server on form submit

I have a form that's being posted to my back-end (Kotlin, Spring Web). That form had some text inputs and the post worked flawlessly. But when I added a file input, the post stopped working, returning ...
0
votes
0answers
10 views

multiple routeparams angularjs with laravel 5

With laravel i get json without problem, when i convert the URL with angularJS .... did't work here is my code. Config with $routeProvider .when('/:cat/:sub/:slug', { templateUrl: ...
0
votes
1answer
27 views

Cant display row in an HTML table using angular ng-repeat and jquery

I have an HTML table that expands or collapse depending if the user clicks on a row, the main record is the "parent" row, if you click it you'll see a child row that displays some records, my issue is ...