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

Selecting item from dropdown doesn't kick off angularjs function using Selenium

I am trying to write a test with Selenium that selects an item from 2 dropdowns and then clicks a button. The problem I am running into is that the second dropdown is populated by an angularjs call ...
1
vote
0answers
6 views

Sorting angular md-chips

I have been looking online and I haven't found much help so far. My question is can you sort a list of md-chips when it has an autocomplete field? As an example, I created a jsfiddle (https://...
0
votes
0answers
8 views

Angular JS multiple get requests in a single controller

I have an app module and app controller. when I try using a single get request the result displays but when I try to do one more get request then I guess there is a problem. var app = angular.module('...
0
votes
0answers
4 views

Creating charts (charts.js) values coming from SQLite database using AngularJS

I'm trying to create a chart. And here is my html code <div class="card"> <div class="item item-divider"> Approved and Pending Members </div> <div class="item item-...
0
votes
0answers
4 views

Not able to get data-bound data during the directive initialization when its wrapped in a ng-repeat

Lately I've been creating a modularized start page (In Angular) for the company I work for. I've created a module-directive that can handle simple data and displaying them as a list. Very basic stuff....
0
votes
0answers
9 views

Retrieving data from firebase while sorting it correctly

I have this structure in my firebase database "metadata" : { "2017" : { "Februari" : { "-Kc3BF0V1iLgtnI65LuR" : { "date" : "2017-02-03T13:36:38.311Z", "price" : ...
0
votes
0answers
25 views

Why doesn't my ng-message appear?

CODE: view.html <form name="vm.form.articleForm" class="form-horizontal" ng-submit="vm.save(vm.form.articleForm.$valid)" novalidate> <fieldset> <div class="form-group" show-...
0
votes
1answer
5 views

Redirect angular path but hold server data

Sorry if this could be a newbie question. So this frontend app has an interceptor. For each request to server, the interceptor will be the first to manage the server response: service.responseError = ...
0
votes
0answers
17 views

AngularJS interceptor not working when calling from a callback

i'm having quite an issue here. I'm using fullCalendar with angularJS and i have an interceptor to set an API key to every requests. The problem is, whenever i'm trying to make a request from a ...
0
votes
2answers
22 views

Referenced Error: angular is not defined in app.js line 1

index.js angular.module("travel") .controller('LoginCtrl', function($scope, AuthService, $ionicPopup, $state) { $scope.user = { name: '', password: '' }; $scope.login = function() { ...
0
votes
2answers
21 views

Angular front-end and C# back-end in different VS solution

I have built a single-page-application with angular ui-routing in Visual Studio. This front-end application works well. Notes that I don't build this front-end based on MVC architecture. It is based ...
0
votes
1answer
13 views

Sharing data under 2 controllers through common Service in angular .js

(function () { 'use strict'; angular.module('ShoppingListCheckOff', []) .controller('ToBuyController', ToBuyController) .controller('AlreadyBoughtController', AlreadyBoughtController) .service("...
0
votes
0answers
28 views

Open URL in new Tab with my Title [duplicate]

I want My PDF Report in a new tab open.but how can the title of new tab choose? window.open(url,_blank) URL in my case is my PDF Report File I create PDF with JasperReport and .jrxml file I used: ...
0
votes
0answers
8 views

Testing Angular Service in Karma

I tried helplessly last few days but I cannot seem to overcome the same. My JS looks like : angular .module('appRouter',['ui.router']) .controller('routerCtrl',function(resolveData){...
0
votes
0answers
13 views

Ionic ng-click navigate to state removes menu on left

I have the following menu template The below <ion-side-menus> lives in template/menu/menu.html <ion-side-menus> <ion-side-menu-content> <ion-nav-bar class="bar-stable ...
0
votes
0answers
12 views

Inheritance in e2e tests [Jasmine, Protractor, TypeScript]

In my project I am using protractor + jasmine + TypeScript for e2e tests. I have already benefit from TypeScript glory of inheritance in my page object files (for example, I got some BasePageObject ...
0
votes
0answers
4 views

jsPDF not rendering highcharts image on Edge browser

I am new to jsPDF and I am trying to download the highchart with some html content. My code works fine for all browser except "Microsoft Edge". Here is the working Plunker. I have googled similar ...
0
votes
1answer
41 views

Directive to accept numbers and empty in text field

Hi I use one directive to accept only numbers in my text field: HTML: <form name="filtroForm"> <input id="idMatricula" type="text" class="form-control" ng-model="filtros.Matricula" ...
1
vote
1answer
25 views

How to select/unselect rows in table?

I have event ng-click() over each row in table. How to add class new if I click over a table row and remove class after double click? I tried to create an array that contents true/false values for ...
0
votes
0answers
16 views

Angular Core Library

I am trying to do some analysis on Angular 2 and React. One of the things I'm interested in is the size of the core libraries. In others, the minimum needed to get a "hello world" app to run in both. ...
0
votes
0answers
8 views

Having Problems with OAuth2 Adal Angularjs Web APi functionality - Web APi not Authorizing

So once again I have tome left over to dive into Security. And I so badly want to understand how to make my AngularJS SPA to be able to call my API through a secure environment. What I have a hard ...
0
votes
1answer
12 views

How to resolve filepath in ionic app

I spent my whole day googling it and asking on various platforms . I can not find a way to simply choose and upload file in ionic app (pdf,rtf etc). In cordovaFileTransfer.upload function I need to ...
0
votes
0answers
7 views

protractor how to redirect from non angular page to angular with mock modules (angular>>non-angular>>angular)

what is the official best practice for this redirection angular app A with mock modules >> non-angular app B >> angular app A with mock modules My problem is that I have an angular app A with a lot ...
0
votes
1answer
24 views

Share and update Observable data in Angular 2

I have 2 components - object-list and search-filter in my app. Also I have a fetch-service with getObjects(page, filter) method. I want to implement a scenario where object-list fetches all data via ...
-2
votes
2answers
30 views

How can I call four different pages in same screen using angularjs?

How can I create an assignment with four screens? Screen with some text Screen with some images image Screen with a video All the screens will be changed automatically one by one with some time ...
0
votes
0answers
38 views

Angular ng-repeat does not display data (only at 1st use)

UPDATE: It was because not setting the values for $scope.quantity I have 3 places where I should ng-repeat 3 different data sources. I use 3 controllers, from which only the 1st one displays data. ...
1
vote
0answers
6 views

Angular Put request not working with Laravel 5.3 hosted on azure

I am sending PUT request on my Laravel 5.3 application that is hosted on azure webapps. But I receive a delayed response 504 (Gateway Timeout). While It is working on POSTman (chrome extension). ...
1
vote
0answers
28 views

how to setup right link

i have a function that is sending users to different services. I need to upgrade it for another task too. $scope.toService = function(serviceId) { /*var nonContractExternal = { serviceId:...
0
votes
0answers
15 views

How to load so many iframes in angular.js

I have a blog page developed in angular.js and node.js, each blog have some youtube or soundcloud embed which i need to add on blog listing. I used a web service to get around 10 blogs at a time, but ...
0
votes
1answer
29 views

How to check string in json array

hi to all want to check string in json like that string coming form params now want to check in whole json and display only data which is related to that . Kindly check my code .. in other words want ...
0
votes
0answers
13 views

Angularjs: same directory name with same module but in a different file

Angularjs: same directory name with same module but in a different file. If We have same directory name with same module and on runtime it's going to 2nd directory. Can anyone please help me how in ...
0
votes
1answer
38 views

Why is $modalinstance not available / injected?

I am trying to show a simple yes/no modal but I run from one issue into another. The current error message I am getting is: Error: [$injector:unpr] http://errors.angularjs.org/1.6.1/$injector/unpr?p0=...
0
votes
0answers
18 views

Service in Angular Resolve $stateProvider

I am trying to use resolve and inject it a factory and then print the data returned by the resolve in a controller. Basically the code looks like pretty much : angular .module('appRouter',[...
0
votes
0answers
23 views

to set checked values uncheck

I have a dropdown:- <select class="select" id="select" multiple="multiple" ng-model="a.NA"> <option value="1">1</option> <optgroup label="group"> <option value="2">...
1
vote
3answers
30 views

Uncaught Error: [$injector:modulerr] trying to inject $module

I am trying to use the modal service from angular bootstrap: <script src="bower_components/angular/angular.min.js"></script> <script src="bower_components/angular-bootstrap/ui-...
0
votes
0answers
25 views

Return value from Promise.all to another module - Javascript

I'm trying to pass an object of values to another module. I'm getting the values to the object from scraping, and are using promises to do so. In my code, I want the returned value(the object) to ...
-1
votes
0answers
23 views

JavaScript how to sort array of japanese string by japanese alphabet order

Hey i need help how to sort array of japanese states by japanese alphabet order. var states ['Hokkaidō [北海道]','Iwate-ken[岩手県]']; Thing second word in [ ] is sorted by alphabet tried something like ...
0
votes
0answers
7 views

Problems with exporting data with ui-grid

I am beginner in working with the Angular UI-GRID and I need to make Exporting Data With Custom UI like this http://ui-grid.info/docs/#/tutorial/312_exporting_data_complex, all things like ui.grid....
-1
votes
1answer
14 views

Angular smart search on wildcard

Say you have an array filled with the following objects: {id: Integer, name:'String'} Take for instance the following array: $scope.users = [{ id: 1, name: 'Marc Edgelund main' }...
0
votes
0answers
14 views

Angular + Datatables don't sort numbers right

I got a datatable that shows a numeral connection between 2 Persons. Some of them don't have any connection, so there might be a String "x" as value for some cells. The issue I got is the sorting. If ...
1
vote
3answers
26 views

Is it neccesary to define ng-model everytime?

I am new to angular js <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs /1.4./angular.min.js"></script> <body> <form ng-app="" ...
0
votes
1answer
27 views

Is there a way to pass an Angular 2 attribute directive a function

In Angular 1, you could pass a function as an argument to an attribute directive using &. I know you can pass a function as input to an element directive (component) in Angular 2 using the <...
0
votes
0answers
12 views

Create a dynamic template,component and pipe based on JSON received

I would like to create a generic template based on received data in PHP by the server and then converted in JSON by an Angular 2 service If my PHP data sent by the sever looks like this : return ...
0
votes
0answers
24 views

Angular populate input date from firebase data

I have this data structure in my firebase database "dkt" : { "-KbzLbwQHzkFLkPLGhxN" : { "comment" : "", "date" : "2017-02-02T15:04:53.336Z", "name" : "Mamma Mia", "...
1
vote
0answers
19 views

How to use interpolation in tag/element names in Angular2

I am having trouble using interpolation string in element names while dynamically generating component selectors inside *ngFor. Below is my code: <span *ngFor="let platform of platforms"> &...
0
votes
4answers
35 views

onClick fires the last items function

So I have an array of items which all have a function named onClick() this function can be executed from a ng-repeat However what happens is that instead of executing the onClick() of the selected ...
-1
votes
1answer
30 views

How to create a character counter for textarea ? (angular)

CODE: <div class="form-group"> <label class="control-label" for="content">Content</label> <textarea name="content" data-ng-model="vm.article.content" id="content" ...
1
vote
0answers
6 views

Prevent $mdDialog (prompt) to CONFIRM on press Enter

SCENARIO I have created a $mdDialog (prompt dialog) where user can write a message and on confirm it sends an Email. Here is the snippet that create the dialog function requestToEditProfile() { ...
1
vote
2answers
28 views

How to load/inject a service in the main app controller?

I am trying to implements a modal from this answer but I fail to use the service in the app controller. The question is simple: How can I use the modalService via injection in the emaApp main ...
-2
votes
0answers
22 views

AngularJS book effect [on hold]

I want to create a mobile web page in AngularJS with swipe book effect on each page. I've found this JS script: https://github.com/codrops/BookBlock, but it did not work very good, sometimes the page ...