AngularJS (a.k.a. AngularJS 1) 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 applications are also frequently known as ...

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

CORS request from chrome browser

I have an AngularJs application making AJAX request to different domains.I dont have admin access to the server as well as my chrome browser.Is there any other solution instead of using nodeJs?
0
votes
0answers
2 views

Angular gridster: resize and save widgets for future restore

I'm trying to save gridster widgets in the database in a way that I can get again from database. The problem is that Gridster sets width and height according to the columns ie (sizeX = 1, minSizeX= 1) ...
0
votes
0answers
4 views

How to Remove axis Lines from chart in chart js

I drawn a chart using chart js like below In this above chart i want to make a line thicker ( Pink Marked ) like other lines and also i want to remove x axis line ( Green Marked ). How can i do this ...
0
votes
0answers
7 views

how to work with jquery plugins into angularjs

Can i use the jQuery image slider plugins that comes with Angular ? what is the correct way to integrate jQuery plugins slider into my angular. give solution for jquery pluings .
0
votes
0answers
11 views

Ionic notification in android

I used blow code for ionic notification i have used fcm (farebase clude messaging) I Recieved push Notifications when the app is close but i didnit recieve notification when app is open(running) in ...
-1
votes
0answers
9 views

Ionic 2 how to make ion-list grow bottom upwards

How can I put an ion-list inside ion-content, but have the ion-list aligned to the bottom of ion-content so that it appears to populate from the bottom upwards?
0
votes
0answers
12 views

REST Service in Spring MVC and AngularJS

I have next method to get request: public ResponseEntity getPagingNews(@RequestBody Paging paging, HttpServletRequest request) { LanguageService.setLanguage(request); List<News> ...
0
votes
0answers
14 views

Reading model from model view returned from controller in angular

I have a action method like this public async Task<ActionResult> Pc() { var v = await context.pcs.Select(w => new Code.pcs { id = w.id, name = w.name, ...
0
votes
0answers
17 views

How to properly execute javascript against a DOM element upon ng-show?

There's a TLDR at the bottom. Otherwise here's the long-winded explanation. I have a sort of a form, a series of various inputs that is divided into "pages" by using ng-show. What I want is when ng-...
1
vote
0answers
21 views

ng-repeat not updated inside bootstrap modal

I just take a simple array and there is add more button in which i just push one more object to that array. The array is ng-repeat which renders all the fields. My code are given below. <div ng-...
0
votes
2answers
15 views

I am using two uib datepicker but on onclick event its opening both calender. How do I fix this ?

I am using two uib datepicker but on onclick event its opening both calender. How do I fix this ? here is my code that I am using - In HTMl - <div class="row"> <div class="...
0
votes
0answers
20 views

Search form only search in page not in all response

I'm new in angularJS and I'm developing a user manager portal, the thing is I got stuck with a search form which I have user: This is the HTML search form should filter <tr> with ng-repeat in ...
0
votes
0answers
19 views

Dynamic loading of templates is not working

I am trying to dynamically load Views through templateURL. The code Snippet #1 works, while the same code in green works, The network tab shows that the request is garbled http://localhost:56348/...
0
votes
0answers
16 views

Element calling once in AngularJS

I'm using plupload.full.min.js library to upload image to image cloud, i using AngularJs. And problem with button. They work only once if i change view and back to view with this button it doesn't ...
0
votes
2answers
15 views

ng-select not retaining dropdown values after selection

I have a drop-down to render some values with API. The values are rendering fine in the dropdown options. But, when I chose any option the value is not retained in the UI. Here is my html: <md-...
1
vote
1answer
24 views

z-index of spectrum color picker not working

anyone please help me, I use spectrum color picker in popup modal, but the spectrum color picker is behind of popup modal, I want color picker in front of popup modal. I use z-index but not working, I ...
0
votes
0answers
17 views

rest api passing parameter on every request

I have a rest api which has organisations as a top level object and all other data belongs to an organisation e.g. orders, invoices, projects etc.. Users have the ability to belong to multiple ...
2
votes
1answer
43 views

Why does ng-if only work with ng-click if they are in the same element?

I am hiding and showing nav bar elements based on if the user is logged in or out. In the main controller: $scope.FBlogin = function(){ FB.login(function(response) { if (response....
0
votes
3answers
23 views

How to store global variable of Angular2 with Service

I use AuthService to connect to my auth server and store the auth state, here is the necessary code: auth.service.ts @Injectable() export class AuthService { state = { isLoggedIn: false, ...
0
votes
0answers
5 views

Materializecss AngularJS collapsible $http get if is OPEN

I'm using collapsible and would like to trigger $http only when it opens and display its contents in the collapsible-body How to know by angularjs if the collapsible is open? In the documentation ...
0
votes
2answers
13 views

Angularjs : Service is undefined

i just want to ask whats wrong with my codes here? index : // ng-app="app" and ng-controller="Student" is already injected <script src="app/js/jquery/jquery-3.1.1.min.js"></script> <...
0
votes
2answers
20 views

Is it possible to specify the type of binding value in angularjs 1.5(6) using typescript

I want to specify the type of binding items. so that I can use component just like a function. for example. we have an component angular.module('app').component('navBar', new NavBar()); class ...
0
votes
1answer
15 views

Angular: referencing my data in the controller

I am not sure how I pulled this off but I've got an object displaying all my data in the view, but no reference to it in the controller. I assumed my data was in $scope or in this, but not that I can ...
0
votes
2answers
34 views

Jquery won't load

So hey guys, I'm trying run a html file for this angular 2 course I'm taking. After creating the dependancies for the app I downloaded them with npm. Now when I try to run the app, I get this error.. ...
3
votes
1answer
23 views

Angular repeat, break across columns

I'm doing a multi-checkbox form where I have as many as 100 items in my array and a numColumns integer that can range from 1 to 5. So, if I receive, say, 14 items and 4 columns: []item 1 []item 5 ...
0
votes
0answers
18 views

Google autocomplete at bootstrap modal + Angular

I'm tryin to add autocomplete to my modal. Similar code works if I add it to simple html page, but doesn't work at modal: app.controller('sign_up', function($scope, $http, $log, $filter, $timeout, $...
0
votes
2answers
8 views

Angular http method changing the hour in datetime

I have the weirdest bug ever. I am talking to my API via angularjs and I try to update something by doing the following console.log('updated: ', event.startsAt); $http({ method: 'PUT', ...
1
vote
1answer
12 views

Update/PUT json with Angular 2

I have problem with update/PUT with angular 2. I create function updateMember() in member-detail.component.ts file. Function get object correct and send it to server, but when tslint code, cosole ...
0
votes
0answers
10 views

Project structure/architecture with angularjs 1.x and asp.net mvc web api [on hold]

Please can i have a good project structure/architecture for angularjs 1.x and asp.net mvc web api. for example is it good to use one independant project for angular and another for asp.net mvc web ...
0
votes
1answer
25 views

How to properly routing for SPA using Angular 1.5?

I'm new to angular. I create a blog for showing my profile. In my website, I have several component and my app.module has a configuration for the routing, as shown: app.config(function($...
0
votes
1answer
8 views

Data placed outside of Angular ui-grid

We have plenty of server-side data grid controls, would like to replace them w/ generic clientside Angular. But data is always placed outside of the grid. To find out the cause, I followed the ...
0
votes
1answer
8 views

Read downloaded blob from dropbox API using HTTP

Using dropbox you can create a shortcut by dragging and dropping a URL into your Dropbox folder. This will be saved like this: Using the /2/files/download HTTP API from dropbox will return an XHR ...
1
vote
0answers
15 views

Angular: Testing HTTP with MockBackend, is async() really required?

I'm using MockBackend to test code that depends in @angular/http. All the examples around the web use an asynchronous test setup, like here: thoughtram: Testing Services with Http in Angular describe(...
0
votes
1answer
5 views

Unable to inject factory into test suite using Karma/Jasmine

I have an Angular app with a Django back end. I am just starting with Karma and Jasmine unit testing. I am unable to inject my factory into my test suite. Is there any suggestions or glaring errors ...
0
votes
2answers
41 views

AngularJS chain promises sequentially within for loop

How do i chain promises sequentially within for loop, i have seen lot of examples on google to do this but i couldn't implement for my case: i have gone through this link for sequential chaining of ...
-2
votes
1answer
15 views

How can I bind list from database into checkbox in AngularJS? [on hold]

I need to know How can I bind list from database into checkbox in AngularJS ,This list contains ID and Names , and I want to show only names and after checkbox checked I need to get this ID .
0
votes
1answer
21 views

angularjs select box values based on another select box

My data structure is $scope.selectedNotification = {}; $scope.metricTypes = [{"metric":"storage","units":["%","MB","GB","TB","PB"]},{"metric":"memory","units":["PB","EB","YB"]},{"metric":"vcores","...
0
votes
1answer
11 views

Storing Rich Text In My Database

I have a site that has a rich text editor. However, after editing and ensuring that my changes are being saved, once the content is displayed it loses most of its styling. For example I could save ...
1
vote
1answer
16 views

Loading a html file through angular's ui-router using templateUrl

I'm using the Angular UI-Router to declare states. My states are set up correctly and angular is working on my page but the template html file is not being loaded correctly. When I do template: '...
0
votes
1answer
8 views

Custom smart table maniupulation with AngularJS 1.5 components

I have an angularjs 1.5 setup with components. I have a smart table with a column that shows a couple values from my project list and I want to be able to, at the top, show the totals of these values. ...
0
votes
1answer
15 views

ValueChanges stops working as soon as an error occurs in an Rx.Observable

I am following some Rx.Observable tutorials from an Angular 2 application and using an AutoComplete style of system. As I type into a field, the valueChanges event fires from the Angular 2 ...
0
votes
1answer
16 views

Angular attribute directive add ng-change

I have a directive defined as: module.directive('inputChanged', function () { function link(scope, element, attrs) { var field = attrs.ngModel; if (field) { ...
0
votes
1answer
19 views

AngularJS & Ionic: Two Objects in one Scope?

I'm new to Angular / Ionic and have a short question. Is it possible to put two Objects in one scope? Like this: $scope.Lorem = [ { title: 'Ipsum', text: 'Lorem ipsum dolor sit amet ...
0
votes
1answer
14 views

How do I get a single value from a json file using angular (without using ng-repeat)?

I have a json file with the following data: { "favicons": [ { "36x36”: "36x36.png", "48x48": "48x48.png", "57x57": "57x57.png" } ], "header": [ { "imageUrl": ...
0
votes
0answers
12 views

AngularJS & Google Maps - Get time on road

I try to get an array from some google api calculations. I have 'routesArr' array in my service, but this array have value only when it is executing the 'callback' function (in which I populate '...
0
votes
2answers
21 views

Angular All slashes in URL changed to %2F

I'm having a massive problem with Angular routing. Up until recently everything has been fine with the following route: $routeProvider.when('/album/:albumId', { controller: 'albumPageController',...
0
votes
2answers
33 views

Calling Factory/Function From String

I am reading a config file which contains a mapping of Angular Factories/Function names. The Factory/Function names are stores as strings in the mapping. I am wondering how would I be able to execute ...
0
votes
1answer
11 views

Angular : url is rewrited with escape character

I try to use Angular Routes : var app = angular.module('app', ['ngRoute']); app.config(function($routeProvider) { $routeProvider .when('/', { templateUrl: 'main.html', ...
0
votes
1answer
17 views

Angular : get/access selected item from <select>?

I can't seem to find a way to access the selected-item in select-box from javascript. Have been looking for a day ! All that I'm getting back is how to set the selected OR react via ng-change. I was ...
1
vote
0answers
10 views

how to add google analytics script in angular js app?

Hello I am new to angularJs and i want to implement google analytics script in my angular app, which is having more thann 20pages and i am using routing. If anyone can help me in that, I will be very ...