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

Selenium is failing on getting the element using data-ng-class attribute

I will reproduce the problem. Im operating on this line of the code <i class="fa fa-chevron-circle-up" data-ng-class="{'fa-chevron-circle-up': !org_content, 'fa-chevron-circle-down': org_content}"...
1
vote
1answer
27 views

How can I handle html code sent by Json?

I have this data from a json, it's html code, how can I print it like html because it only seems to print it as a String: "content": "Más pruebas\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cdiv class=...
0
votes
1answer
8 views

Play audio when select options - Angular

There's a way to play a sound like a beep when i select an option from the list below? <select ng-model="orderList" class="meselect"> <option value="Nm">Name</option&...
0
votes
0answers
9 views

Angular 2: Change element based on authenticated property

I've got an Angular 2 app that I have integrated authentication into using a service. The user can login, and when there is a token in the localStorage the user is considered authenticated. I have a ...
0
votes
0answers
6 views

“JSONP injected script did not invoke callback.” when calling JSONP in Angular 2

Trying to do a simple JSONP request in Angular 2: this.jsonp.request("https://public-api.wordpress.com/rest/v1/sites/wtmpeachtest.wordpress.com/posts?callback=jsonp_callback", { method: 'Get' }) ...
0
votes
2answers
22 views

Navigating to other part of the web page

When user click on some data/button which is in tab1, the user control should go to tab2 and tab2 should open. Please suggest how can i navigate from tab1 to tab2 on click on button which is in tab1. ...
0
votes
1answer
6 views

How to enable dropdown buttons one by one in angularjs(Cascading dropdown)

In cascading dropdowns ( eg:3 dropdowns), how to disable 2nd and 3rd dropdown initially and when user selects an option in 1st dropdown , 2nd dropdown should be enabled. And when the user selects an ...
0
votes
1answer
10 views

AngularJS 1.x: Click radio button and sibling input element focuses

I'm working on a form in Angular 1.5 (with Bootstrap) and I want the following functionality: When the user clicks the radio button, I want it to focus on the input text element in the radio-group ...
0
votes
1answer
12 views

a.map is not a function error nvd3 with ng-repeat

I'm trying to use my data object along with ng-repeat with nvd3 to dynamically create multiple charts. In my controller, my data for my $scope looks like this: $scope.data_costByScn = [ { "...
0
votes
1answer
11 views

bower install error for angular

I am getting error while trying to install bower. Here is the log: I have checked other post with similar error but it has not worked. $ bower install bower bootstrap#^3.2.0 cached https://...
0
votes
0answers
13 views

Service Function is not recognized

I have this Service: function AddSuggestedPeersService($http, SITE_CONFIG) { console.log("I come in Add Suggested Peers Service"); var addSuggestedPeers = this; addSuggestedPeers....
0
votes
0answers
5 views

Create a recurring event in bootstrap calendar angularjs

I am using the following bootstrap calendar for angular js link But it doesn't really support recurring events. The documentation tells me to use rrule to achieve this but the example given is very ...
0
votes
1answer
17 views

I don't get out of the function Angularjs

I have a simple Angular code to show and hide a poppin, but every time I use it I am blocked in the function. In my controller I have this to show the poppin : $scope.showHidden = function() { ...
0
votes
1answer
12 views

Angularjs ng-model did not working on my mathjax-bind

I have input(s) text inside a string and need to convert if found any characters like ## to <input type="text" />. I have no problems to return the value if I used ng-bind-html. However, ng-...
1
vote
1answer
21 views

Promise.all processes the promises in a group of 6 at each time [duplicate]

I wanna make a bunch of (let's say 20) HTTP POST requests (in order to send information of an app to some HTTP servers) simultaneously. I am using http angular service to return a promise: function ...
0
votes
0answers
11 views

remove exclamation from routing of state url Mean.io

I want to remove exclamation marks from url state routing like my url is now http://localhost:3000/#!/auth/register i just want to remove this "!" marks from url after "#"
0
votes
1answer
16 views

Assigning ng-model for dropdown

I have a item in list with with dropdown values as ROLES. I couldn't set ng-model for drop down .if I select Actor I wanted my ng-model to be set as Actor <li class="dropdown" ng-model="$scope....
0
votes
0answers
18 views

Access scope of directive from controller

I am using a directive for Semantic UI Model which I have included below. https://github.com/angularify/angular-semantic-ui/tree/master/src/modal 'use strict'; angular.module('angularify.semantic....
0
votes
1answer
7 views

Closing Angular 1.5 Material mdDialog from controller

In an Angular 1.5 component I'm showing a Material mdDialog, which itself has an embedded component: $mdDialog.show({ controller: function($scope, $log) { ...
0
votes
0answers
18 views

Angular directive watching element property triggered only once

I have a directive having a watcher on an element property in my link function. The watcher is triggered only on first page loading. The problem is that $digest cycle is not triggered since it is not ...
1
vote
0answers
11 views

Angular Leaflet Directive Not updating marker position

I'm trying to use angular-leaflet-directive with Websocket, though I'm able to integrate successfully, the positions of the markers are not getting updated dynamically. However The positions of map ...
0
votes
1answer
11 views

My AngularJS Service not Updating when User Click link with different $routeParams

I'm using a service in angularJS which gets a JSON object and passes it to a controller whenever a user clicks a specific link, /match/id-:matchId', it uses the $routeParams of the :matchId to select ...
0
votes
0answers
7 views

Set Global Config on Angular Charts Not Working

I am trying to set ticks on the xAxis to begin at zero as a Global configuration option for Angular Charts and it doesn't seem to be setting the option: .config(['ChartJsProvider', function (...
1
vote
1answer
11 views

I want to send Service Calls of angular after one another in sequence

I am facing issue in my project. I have to send 5 calls to database. after Sequence: 1 -> 2-> 3,4,5 i am using shared app.factory service for call. i am unable to do so. i am using angularjs. if i ...
0
votes
3answers
28 views

align text to parent's parent

I have a list in an angular-app where each item can either contain a small image (as a div's background -> red) and some text or only text. li { display: flex; border: 1px solid black; ...
1
vote
1answer
9 views

Icon field for Kendo Tree-View

I am using a Kendo Treeview and putting a lot of customization on it which has been working great. I have put some images besides each item and it is working too. So far, I have only been dealing with ...
0
votes
0answers
25 views

Why is my angular js app adding characters to the url?

The url I enter is http://localhost:8080/app/#/intro but it turns into http://localhost:8080/app/#!/intro#%2Fintro
0
votes
0answers
4 views

Does the Single Sign On (SSO) Service Support Implicit Flow?

We currently use the IBM Bluemix Single Sign On service with our hosted NodeJS application and it is working well. We now want to use that same SSO with a Single Page Application (SPA) built in ...
0
votes
1answer
4 views

Receiving bound event from component inside component or mdDialog

With Angular 1.5 and Material Design, I have created a component that represents a panel for creating a foobar, with a "cancel" button. Obviously the panel doesn't know if it's in a dialog or not, so ...
1
vote
0answers
10 views

Chrome Dev Tool memory profile details

Can anyone please tell me the details of the numbers that dev tool memory snapshot shows. I need to know the purpose of 1,2 and 3 If it says >- 8 :: Detached DOM tree / 537 entries @704823336 Q....
0
votes
1answer
10 views

Redirect to previous angular state after login

I have a scenario where login and logout API's from third party service provider. Redirection to the above API's call happens in my web layer(using Spring) based on the available cookies and using ...
0
votes
0answers
7 views

404 NullPointerException with AngularJs Java and Jersey

I've been asked to make an App with AngularJs, Bootstrap, Java and Tomcat as a server. I'm new with java ee so maybe my error is quite simple, but I can't find a solution. You can see the project ...
0
votes
0answers
22 views

Is it possible to make my app open and run in a server? If yes, how?

I am using AngularJs to develop a tool for the company I work for. My issue is that unless the app is running on a server, it will not allow me to make use of things like routing or ng-include—it does ...
0
votes
0answers
7 views

browser back button breaks , angular ui-router

I am using angular 1.2.26 . I am doing statefull routing in hashbang mode. $urlRouterProvider. otherwise('/comments/'); var comments = { name: 'comments', url: '/comments/:...
0
votes
1answer
5 views

How to find the bug line/file in Angular 2

I am following the hero tutorial on Angular's page. I have come to Routing step so far. Now my script does not work. I do not know how to find the line to be corrected. And I want to see where the app ...
-3
votes
1answer
39 views

ES6 arrow (=>) functions incompatible with IE? [duplicate]

I'm testing the following code in my AngularJs application, it works fine in Firefox, but IE11 throws a syntax error for the arrows: myApp.run((EventTitle, moment) => { EventTitle.weekView = ...
0
votes
0answers
4 views

More intelligent touch events in angular-material

PREMISE ngTouch is a library that makes touch events via ngClick more intuitive/close in behaviour to the standard touch model. Tap is a click; touch and hold can be handled in a unique way or fire ...
0
votes
1answer
10 views

Displaying tree in a table with drag and drop functionality and persisting the data from angularjs

I am new to Angularjs. Please help me with the below requirement.Screen shot shared. Please have a look at it. Description is as follows, using angularjs I want to create a tree in table it should ...
0
votes
0answers
23 views

ng-repeat adding a 0 element to array

I'm creating an array in a service and fetch some data from a db and iterative over the data to add the group id as a key in the array angular.module('tasksApp'). factory("data", ["$http", function ($...
1
vote
1answer
14 views

AngularJS document.write() won't work in partial

I want to include the current year in the copy-write notice in the footer of AngularJS app I'm building with: <script type="text/javascript">document.write(new Date().getFullYear())</script&...
0
votes
0answers
7 views

My Angular POST request data is showing as 'null' when echo-ed in PHP file.

I am trying to make a POST request using Angular, PHP, and mySQL. My data is being transferred to my Angular controller from the HTML input form, but when I make a POST request, nothing shows when I ...
0
votes
0answers
8 views

How would I go about dynamically creating a server on users computer with global socket.io and Angular 2

I want to open up a server when a user loads up an app so that other users can connect straight to the computer with sockets.
0
votes
0answers
14 views

ngMaterial inherits css styling, but only when the page reloads?

I have this method running in my directive constructor on my main page: styleCheckbox() { this.Index.userEnteredStyle((err, data) => { var checkboxes = document.querySelectorAll(".md-...
0
votes
1answer
8 views

TypeError: _parentScope.$watchCollection is not a function Angular - datatables

Getting this error when trying to load Angular-datatables. Includes: <script src="//code.jquery.com/jquery-3.1.1.min.js"></script> <script src="https://cdn.datatables.net/1.10.13/...
0
votes
1answer
12 views

Not able to use UI-Router in AngularJS 1.x with query params

I am using UI-Router with AngularJS 1.5.9 and I try to handle the route '/reregister' with a query parameter in it. I try to invoke this URL form outside (by a link): https://myapp.herokuapp.com/#/...
0
votes
1answer
19 views

Access dynamically-named form from an angular controller

All, I have a form inside an Angular controller. But the name of that form is dynamically-generated (by Django) from the server. Does anybody know how I can access that form (w/ the intention of ...
0
votes
0answers
8 views

How to dynamically display and download files from Angular1.5 component?

Using ng-file-upload, I provided Drag-n-Drop uploading function, now I have a ListViewComponent with a Dossiers collection of Buffers retrieved from the database. I generated Base64 strings for each ...
1
vote
1answer
19 views

checkbox selected true by using condition

I am new to Angular this is my data $scope.checkgoogleKeywordIdsData=[ {"AdGroupId":"37446130209","Id":"41941982"}, {"AdGroupId":"34657098157","Id":"1275289507"}, {"AdGroupId":"37446130209","Id":"...
0
votes
1answer
11 views

Directive with isolated scope inside ngController

I have an outer div element with ngController, say ctrl1. Inside of that element, I have a directive with isolated scope and a controller, say ctrl2. The problem is that if the scope of that ...
0
votes
2answers
18 views

A module fails to load

AngularJS v1.6.0. How to understand what module fails to load? Why and how to fix it? I get the following error: angular.js:38 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.6....