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) | angularjs jobs

0
votes
0answers
4 views

angular $resource with non-RESTful api

It has been quite a long time since I started using $resource in my angular application to consume a non-RESTful web API, and I didn't have any problem at all everything is working totally fine, my ...
0
votes
0answers
8 views

How to watch a React property in AngularJs?

I have a react component, and I want to watch for it changing. I have this: scope.$watch(function(){ return reactObj.prop; }, function(newValue, oldValue) { if (newValue !== oldValue) { ...
0
votes
0answers
6 views

Universal Angular2 „WeakMap” not defined

I'm trying to build portal based on Angular 2 + Universal & ASP.NET Core Advanced Starter Unfortunately this solution containt builtin "WeakMap" collection which is compatibile with IE11+ only I ...
0
votes
1answer
3 views

angular + typescript + webpack + mocha + karma: module is not a function

I'm trying to get karma testing working for my ionic project. I kick off the tests with gulp tests The task first performs a successful typescript compilation of the files in the tests folder. Then ...
0
votes
1answer
14 views

How to make sidebar buttons padding and margin aligned?

I am trying to align buttons inside sidebar menu but somewhere i m making mistake it always stays to right , not good in css any idea , How can i make sidebar menu aligned or any better suggetion to ...
0
votes
2answers
13 views

AngularJS : Return response of a promise - ie image upload THEN submit a form

I'm trying to understand promises and $q in AngularJS. I'd like to chain 2 functions, and execute them in order. The first is a file upload, and can take a while, so I need to wait for it to be ...
0
votes
0answers
11 views

How to scroll the page when clicking on down arrow using javascript?

An array is having 17 items and I am working on a functionality which needs to display the first 5 items of an array when the page is loaded, then if we click on down arrow then the next 5 items need ...
-1
votes
0answers
10 views

Debug scroll event of a div

I have a complex angular 1.x application, with a outside div which has a large number of child divs, which are generated by ng-repeat. For some reason every time ng-repeat runs, outside div is ...
0
votes
1answer
11 views

Forward user to a specific welcome page with angularjs

After the user logged-in i would like him to see a page with written "Hello"+his name. For redirecting him to the page i'm using this: angular. module('myApp'). config(['$locationProvider', '$...
-3
votes
1answer
18 views

Uglify existing AngularJs app

I have an AngularJs app. I made some modification and I would like to uglify it to run on server. I don't really know anything about it. I've read a lot of websites, but I didn't get it work. NodeJs ...
0
votes
0answers
8 views

Not able to get dynamic translation of text using ngx translate/core - angular 2 typescript

Problem : I have dynamic text that is coming from Json file. I am using translate.get() method like this: this.translate.get('keyInJson')<br/>.subscribe(res => { this....
0
votes
1answer
10 views

Angular data binding multiple classes

I have a controller with a variable 'LoadPercentage' that returns an integer 0-100 which then animates a progress bar. I was expecting this to give me a single class with the load progress: progress-...
0
votes
2answers
17 views

How to assign a returned String to an object property in Angular Conroller?

I have a String as a return value in a function in my controller. Like this: function concatDaysOfWeek() { var DaysString = ""; if (vm.sunday) DaysString = DaysString + '1'; ...
0
votes
0answers
8 views

with two different sessions if a user disconnect in a browser the second session also is disconnected

I'm working with a template which is based on angularJs gulp bower ... when I'm connected from two different computers: C1 and C2 when the first user disconnect also the second is disconnected don't ...
-2
votes
0answers
10 views

AngularJs 1.6 Responsive layout design

how can I do Views depend media with AngularJs 1.6.2 See https://i.stack.imgur.com/KYO9n.png Thanks in advance
-3
votes
0answers
17 views

Why does click on label calls click event handler twice?

<label class="btn btn-xs badge active" ng-class="status.checked == true ? status.className: 'bg-grey'"role="button" tabindex="0" ng-repeat="status in submissionStatuses" ng-click = "statusChanged(...
0
votes
2answers
22 views

Sorting all pages with angularjs (not only the current one)

I'm using a pagination for my data set and now I'm trying to sort it but the sort function sorts only the current page's records. I want to sort the data set not only the current page. is there any ...
1
vote
3answers
23 views

How to set date and time 24 hours from current date using Date object?

I am using angular-bootstrap dateandtimepicker module so in below code when user launch browser i want to set date and time 24 hours earlier from currrent date and time , How can i achieve that task ...
0
votes
1answer
32 views

how to add conditional ngClass if durationTime is less than 1 hour or more

Trying to add conditional ngClass to determine whether the CollectionFrom is less than 1 hour or more then add specific class for either. var awaitingPicking = [ { "id": "2452", "...
0
votes
2answers
10 views

Inject service in controller with TypeScript in AngularJS not working

i'll try to inject a service in my controller with TypeScript and angular JS. But not working. What's is the problem in my code ? It's my service the problem ? All function in my service is not ...
0
votes
0answers
20 views

Angular Filter Group items Without Plugins

Hi want to filter by group. I almost get there but i want to get the Total count by group. <div ng-app="app" ng-controller="MainCtrl"> <h4>All ({{itemToFilter().length}})</h4> ...
0
votes
0answers
6 views

bootstrap-datetimepicker with AngularJS setting custom default date value format ??

I found this fantastic bootstrap-datetimepicker component that I want to use, developed by smalot, not sure the real name is... http://www.malot.fr/bootstrap-datetimepicker/ My HTML vm....
0
votes
2answers
17 views

Set video source from the controller

I am trying to set the video source from the controller. If I hard coded the source everything works fine. But if I try to set it in the server doesn't work. <video id="myVideo" style="width:100%...
-1
votes
0answers
9 views

asp.net mvc 4.5 ng2 cli

I am having mvc 4.5 project project and I am trying to use angular cli but it seems like I am missing steps to make it work, I have tried to use angular 2 seed project and it works fine. please help ...
0
votes
1answer
14 views

Http method set in the API call changes when seen in the chrome Dev tools

I am trying to call an API using createAuthorizationHeader(headers: Headers) { headers.append('Authorization', 'Bearer ' + JSON.stringify(JSON.parse(localStorage.getItem('access_token'))....
0
votes
0answers
18 views

Translate the html page title depending on the selected language (using angularjs $translate)

I want to change my page title dynamically depending on the slected language, so for that I'm Trying to pass $translate service into my app.config(...) //Displaying dynamically the page title and ...
0
votes
1answer
13 views

Angular http.post header issue

How do I send CSRF and Token data in a http request? I'm using Angular to post json data to a Drupal services endpoint but I'm experiencing problems. // drupal post node $scope.post_node = function(...
0
votes
0answers
8 views

Angular Google Map Custom Marker image

I have an Angular-Google-Maps with Markers images display. I want to custom my markers with a border color and display it in circle. I use a $firebaseObjet for my markers info. I have this: And I ...
1
vote
2answers
29 views

Angular user JSON request from a static file

I am currently trying to implement this AngularJS example Tutorial Example Login but instead of having the username and password stored as strings, I am trying to extract the from a local file. I ...
0
votes
1answer
20 views

AngularJS Directive - Error while interpolating

I am discovering the AngularJS directives and I am facing a problem for binding attributes of an object to a template. I have a list of items of different content type (jpg, mp4) and I am trying to ...
0
votes
0answers
9 views

How to send SQLite database to another device with .apk or fill database on first use?

So, i'm trying to create Cordova Android App with Angular that uses SQLite as data storage. I'm supposed to make a ready downloadable app for my client. The problem is that if i fill SQLite database ...
0
votes
0answers
8 views

Bower dependencies - resolving 'unable to find a suitable version…' message

I am trying to sort out my bower dependencies having just checkout out my repo to a different directory on my machine. My bower.json contains the following dependencies "dependencies": { "...
0
votes
3answers
30 views

Is it an obligation to run a node server, in order to execute Angular based applications

(say) My project is using Laravel or simply PHP in the back-end and my front-end is coded using Angular and I am using the angular.js files from the CDN. This should be perfectly fine. I am confused, ...
1
vote
4answers
43 views

How to add and remove users from multiple checkboxes by click on “Add” and “Remove” button in AngularJS?

var demoApp = angular.module('myApp', []); demoApp.controller('QaController', function($scope, $http) { $scope.teams = [ {id:1, name:'Chinmay Sahu'}, {id:2, name:'PHP Chinu'}, ...
0
votes
0answers
17 views

How tag questions about new Angular2 version (4.0.0) [migrated]

Excuse: This question isn't about stricte coding, but it's about issues and problems concerns new version Angular2. Introduction As we now, yesterday a new stable version Angular2 (4.0.0) was ...
-1
votes
0answers
8 views

UML modeling application ionic

I have to create UML diagram for my upcoming project. In fact my project is a business application app in which I will only develloped the front part and I will use the API of the backend part. My ...
0
votes
0answers
13 views

Wordpress rest api endpoints

Im wondering if there's a way to make sure that the path im using my angularJS $http.get(homepage.api_base + '/wp-json/wp/v2/reviews?category='+$routeParams.idOfCategory+'&genre='+$routeParams....
0
votes
0answers
10 views

Quickblox Javascript SDK + Angular + webRTC - Firefox Error: SecurityError: The operation is insecure

Quickblox Media Recorder is showing this error when I insert the remote stream into: Error: SecurityError: The operation is insecure. quickblox.min.js:88148:15 [526]</Utils.safeCallbackCall ...
0
votes
2answers
32 views

Is there a way to have a web application continue running even when it is closed?

Suppose I want to build someone similar to an alarm, except every hour it performs a list of tasks. For the sake of this example, suppose it is to send notifications. I want the inner function to look ...
0
votes
0answers
9 views

why md-datepicker shows year ahead when opened?

Hi I have angular material datepicker: <md-datepicker ng-model="vm.endDate" md-min-date=vm.minDate></md-datepicker> But when I open datepicker it opens on 2018 year (1year ahead) how to ...
0
votes
1answer
33 views

AngularJs Changes don't show up

I have a problem with AngularJs. I have a ready app and I would like to make some modification. First of all I just would like to log something out. I modified the controller.js but when I upload to ...
1
vote
1answer
13 views

Input with type range not working on Google Chrome

I have an app that is Django in the backend, Angular for the front-end. I am facing an issue where in one of my templates I have an input with type range that is not showing up, but only in Google ...
0
votes
1answer
11 views

Mixed up browser sessions

We have 2 asp.net MVC applications installed on the same backend-server, using the same port. Opening both applications in the same browser causes their sessions to interfere. I'm wondering how this ...
0
votes
5answers
21 views

Select by name and get the Id of the selected item with Angular

I am working in an MVC project with HTML and angular. I have a select list which get selected based on a name entered in an input box, but I am not able to get the id. This works but I don't get the ...
1
vote
1answer
19 views

angularjs - Passing scope parameter to component

We can pass scope parameter to a directive app.directive('appInfo', function() { return { restrict: 'E', scope: { info: '=' }, templateUrl: 'js/directives/appInfo.html' ...
0
votes
0answers
18 views

Position of 3d objects using ng-repeat

The end result should look something like the picture attached (Link to illustation). Each part of the picture is individual png images drawn in Illustrator and each of these have their own CSS class....
0
votes
1answer
8 views

Protractor: Fetching data from standard Angular GRID which redraws when scroll left or right

I have standard angular Grid which has around 45+ columns. AT a time only 10 are visible on GRID. to fetch data for remaining 35 columns, you need to scroll right and then only you can fetch data for ...
0
votes
1answer
14 views

AngularJS Ngdraggable issue

I'm working on making an draggable div element for a project I'm supporting. I found this AngularJS directive that allows an element to be draggable. I modified the directive to change the starting ...
0
votes
0answers
17 views

JSON iteration in AngularJs with time format

A JSON with list of items {"time":"Thu Mar 23 4:10:44 -0700 2017","breakfast":{"start_time":"Thu Mar 23 1:00:00 -0700 2017","end_time":"Thu Mar 23 3:00:00 -0700 2017","soup":[{"id":"b_01","name":"...
1
vote
3answers
40 views

Form Validation is not working in angularJs?

I am unable to find the error in AngularJS Form validation. JavaScript: sidemenu.controller('galleryCtrl', ['$scope', '$rootScope', 'PropertyDetails', '$window', '$location', '$routeParams', '...