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
2answers
9 views

How do I add Angular functionality to newly-added HTML?

I have an HTML page with Angular. I want to click a button that adds an Angular input tag to the DOM. But when I do so, the new input text field does not seem to work the way I would expect it. My ...
0
votes
0answers
5 views

Collision detection of two rectangles angular 2

I am trying to convert this fiddle to typescript so that I can implement collision detection it in my angular 2 game. The main scope is to have collision detection between 2 rectangles as can be seen ...
0
votes
0answers
5 views

ui-router with different Css on each page

Hello I am new to using Sass and I have hit a road block. I am doing the yeoman angular-fullstack generator with ui-router and sass. I have noticed that the last import in my app.scss is the style ...
0
votes
1answer
13 views

JSON file shows parse error, but everything looks fine (JSON, AngularJS)

I'm working with a JSON file that was sent to me. I keep getting a parse error on line 7 (begins with "overview) of this JSON file. The error reads: Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', '...
0
votes
1answer
8 views

Can't get Mention to work, Ment.io

Guys i'm trying to get ment.io to work in textarea Mentio by Jeff-collins http://jeff-collins.github.io/ment.io/#/examples <textarea placeholder="start with @j" ng-model="myval" class="form-...
0
votes
0answers
12 views

UIRoute “$state.go('menu.events')” not working in android app but in browser?

I have the following code and it works when testing in browser (ripple). .controller('LoginCtrl', ['$scope', '$state', 'client', function ($scope, $state, client) { $scope.loginFacebook = ...
0
votes
1answer
17 views

Angular js - How to extract partial data from json file located in my server for a detail view passing a parameter?

I am a newbie in Angular. I suppose it's an easy question. I have a json file which contains different objects hosted in my server. I got display a list with each object. Now, when I click on each ...
2
votes
1answer
24 views

AngularJS is breaking the routing url

I have a problem with Angular JS, When accessing this: domain.name/#/filme/view/Dilwale/524 it is changing the url to this: domain.name/#!/#%2Ffilme%2Fview%2FDilwale%2F524 what could be the reason ...
0
votes
1answer
15 views

Authenticate a form using Spring Security, Jersey and AngularJS

I'm trying to use spring security 3.2.6 to authenticate a form in my web application that uses AngularJS 1.5.9 and Jersey(to perform Rest services). This is my login-form: <!DOCTYPE html> <...
0
votes
0answers
17 views

Angular JS dynamic dropdown selection based other drop down selections

Issue: I was able to create group of dropdowns with ng repeat and ng-options and dropdown selected items are removed from the next dropdown. The issue here is that it is not dynamic and works for ...
0
votes
1answer
19 views

Angular - ngClass being added to each clicked radio button (instead of ONLY clicked one)

In my angular app I'm using ng-repeat to generate several radio buttons, the ultimate goal is to add a choiceSelected class (ngClass colour styling) to the label of the clicked radio input. I can add ...
0
votes
0answers
31 views

Why would change detection not happen automatically in Angular 2?

I have a container component and a tags component that's called from the container. When I update data in the container, I expect the tags component to get this new data and automatically update. This ...
0
votes
1answer
11 views

Can not add bearer token in $resource header

I am not able to add bearer token in $resource service header for token based authentication. I used following code Factory return $resource(appSettings.serverPath + "/api/product/:id", null, { ...
-1
votes
0answers
12 views

Update Chrome extention icon by timer

I'm trying to update the icon for a Chrome extension by a timer. Example: manifest.json: "background" : { "scripts":["background.js"] }, "permissions": [ "storage","activeTab","...
0
votes
3answers
25 views

NodeJS: How to load HTML page after GET has returned; Angular.js not being found

I am very new to both AngularJS and NodeJS. I am trying to get a basic application running that on page load will make a GET call that returns a JSON structure of customers, and the HTML page will ...
0
votes
1answer
15 views

Local storage using Ionic angularjs

I am trying to get a ToDo list app to save to a phone's local storage but I can't figure out what it is I need to do to save to local storage. In my app.js file I have the following code which allows ...
0
votes
0answers
12 views

Angularjs Action Tooltip service

I would like to ask you if anyone knows how to make this kind of action tooltip in angularjs ? Action Tooltip image
0
votes
0answers
14 views

Failed to load template: uib/template/modal/window.html

I feel like i have attempted everything and i still get the error: Failed to load template: uib/template/modal/window.html in my index file i have added the following: <script src="...
0
votes
0answers
11 views

Passing a parameter to a batch file typescript?

Hello I'm trying to design an angular app to run my protractor automation through a friendly ui. I have the design done but I can figure out how to write a function in typescript to pass a buttons ...
1
vote
0answers
13 views

Partial is showing 404 in AngularJs

Directory Structure is here. I can't show it because of insufficient reputation score. Base Controller myApp.controller("BaseController", ["$scope", function($scope) { $scope.Navigation = []; ...
0
votes
0answers
6 views

Image in pdf is black box when downloaded from Web API using FileSaver.js in Angular 2 application

I have generated a PDF document using PDFSharp. It looks fine when opened locally, or when opened in a web browser via a URL linking directly to the document. However, when I stream the document to my ...
0
votes
0answers
11 views

CSS transitions handled in AngularJS controller don't work in Internet Explorer 11

The following is some of the code I have in my AngularJS controller: //Function to display modal on project image click $scope.openModal = function (name) { //Changing the value of an object's key ...
0
votes
0answers
19 views

How can I set an active dropdown item based on current state?

I have created a new directive which creates a nested dropdown menu from a link object in my factory. This is outputted like so: <button class="nav-item-idle" ng-click="vm.toggleDropdown = !vm....
1
vote
1answer
15 views

Remove Angularjs-Chart border and reduce chart arc thickness

How do i remove the border line of Angularjs doughnut chart and reduve the thickness of the arc. HTML <canvas id="doughnut" class="chart chart-doughnut" chart-colors="preColors" chart-...
0
votes
1answer
22 views

Angular $compile cant find directive

I have a current project based around single-page-applications (SPA) and wanted to implent a function that dynamically loads directives into my html based on which kind of SPA is required. The ...
0
votes
1answer
24 views

AngularJS: Validators in Controller no binding with HTML side

All in-line validations in HTML side are working OK, but when I use functions in my Controller (functions ingresarNuevoEmpleador and limpiarNuevoEmpleador), always get $invalid=true. $setPristine ...
0
votes
3answers
23 views

Looping through array of objects to pull specific data out

I'm building a node express angular twitter status analyzer and I'm trying to figure out how to pull the tex out of it and assign it to one long string for use later. I'm trying to pull user ...
0
votes
3answers
42 views

angularjs - ng-if Multiple Conditions

So this has been asked before but my question isnt as simple as ng-if="country == 'ireland' || country='United Kingdom'" I need to do something like: ng-if="(country='ireland' || country='united ...
0
votes
2answers
16 views

angularjs can't assign variable to html5 video src

I got an error of Error while interpolating: videos/{{video.name}} with below code : <div ng-repeat='video in videos'> <div class="col-md-3"> <video controls> ...
2
votes
0answers
28 views

Invalid input is removed from input after compiling in Angular directive

I have a directive that adds custom and native validations to inputs according to a list of validations in a model. Values of the validations can change according to input elsewhere in the form (e.g. ...
0
votes
2answers
22 views

Angular 2 (Cli) not minifying asstet/css files

I created a project with Angular 2 using Angular-cli. When I run ng build --prod I don't have my js and css files minifyed. These files are located in assets/js/ and assets/css/. How do I ...
0
votes
1answer
21 views

RegEx application in angular 2 form

I am trying to generate an error in case someone is entering wrong pattern into the input box but that does not seem to be working. What I am trying to do is below: <div class="col-md-6 col-md-...
-1
votes
0answers
19 views

Display messages in <div ng-repeat=“message in data.messages”>

{{ message.author }}: {{ message.text }} $scope.data.child("messages").push($scope.newMessage); error
1
vote
1answer
14 views

Image is displayed but browser console shows a 404 error when setting image src using angularjs expression

I am working on an asp.net mvc application on which I am also using angularJS. I am having this strange problem were the correct image is displayed in the browser but the browser console shows a 404 ...
0
votes
0answers
9 views

Nginx as reverse proxy for Spring SAML bases SP - No 'Access-Control-Allow-Origin' header is present on the requested resource

I would like to explain my application structure 1) RESTFul web service (SP) - deployed in tomcat 2) UI in angularjs - Using Nginx as web server Nginx calling SP LB through reverse proxy to get web ...
0
votes
1answer
13 views

Abstract factory pattern in angularjs

Mine is a reporting application where users can do group by/aggregation on the grid columns on the UI. I have a configuration mode - client side and server side - based on the flag grouping/...
0
votes
0answers
13 views

angular-modal-service subscribe modal open event

I use angular-modal-service JSFiddle example. How best to subscribe to the event modal.element.modal() in the ModalController? Sample solution with broadcast: }).then(function (modal) { modal....
0
votes
1answer
13 views

how to maintain the same angular template URL before and after minification | Grunt

I am facing an issue with the base URL for my directive templates. I have a custom directives defined with in template URL path. I have a grunt html 2 js task, where I need to pass the base path, so ...
0
votes
1answer
20 views

dynamic form field with checkbox in angularjs

I want to submit values of the input field to controller with ng-submit but it shows undefined when i console input model.Each input values are saved with check box. But i want to check if any ...
0
votes
0answers
13 views

Inject Angular services to Redux action creators

Any ideas how to inject angular services like $http or $q to use in Redux action creators? Now I am using third-party library to make HTTP requests. Using this action creator as angular service is ...
0
votes
1answer
22 views

pass object from directive to controller angularjs

Im tying to pass object from directive to controller. function is called in controller form directive but parameter i pass to controller function is undefined. here is my code. //controller function ...
0
votes
1answer
21 views

Pass params to function inside AngularJS template

I would like to know, how to pass params to function dynamically inside AngularJS template. I have many rows in table and each row has a button Add deposit. I would like to pass row number to this ...
0
votes
0answers
10 views

Auto inject properties in Angular component to reduce boilerplate code

We are developing a large AngularJS (1.5) application which consists of a large number of constants that almost every Angular components' templates would use. Currently, we resort to manually assign ...
-1
votes
0answers
9 views

Stack exchange api upvoting a post in Angularjs app

I am playing with the stack exchange api. And in order to upvote a post I have to logg in the user. But I do not know how to do it. Can anyone help. I need an idea to know where to start. I have ...
1
vote
1answer
14 views

Angularjs: how to replace , with line break<br> in angular filter

My doubt is simple. How to replace , with line break in angular filter. i also added the demo jsfFiddle angular .module('myApp', []) .filter('nicelist', function() { ...
0
votes
0answers
20 views

Get an array of Angular's DOM elements

I have directive with link. Inside link I want to find all buttons and put the into an array: var buttons = angular.element(element[0].querySelectorAll('button')); If I consol.log buttons I got some ...
0
votes
2answers
28 views

Calling a function in every repeat by using ng-repeat

I have the following relationship: Categories <---> Products (with a 1-N cardinality) This is the ng-repeat directive in the html table <tr ng-repeat="category in categories"> <td>...
-2
votes
0answers
14 views

Looking for an object by one of its properties and then searching by another property in AngularJS

I'm trying to query through a database which looks like this, var items = [ { "id": "F01", "grupo": 1, "alt": "F01" }, { "id": "F01c", "grupo": 2, "alt": "F01c" }, { "id": "...
0
votes
1answer
10 views

Angular ng options default select value

I have this in my 'view file' <select class="form-control" id="selection" ng-model="currentSelected" ng-options="selection.id as selection.name for selection in selections ...
-1
votes
0answers
9 views

Dynamically change the color of text binding with AngularJS

I want to change the color of specific text in viewpoint in occurrence of the word “Sinux” (case insensitive) should be formatted in bold and red. I just able to bind the values my code is below <...