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

using ngCookies angular for login

I'm a beginner in angular . I want use ngCookie for login . I'm using ajax get infomation of user in php , and if have user name , log out button will show . Here is my code $http({ ...
0
votes
0answers
9 views

Angular1 Scope not sending data to controller

Im doing an angular project to pass a form varible to different controllers. I'm a bit new to angular but after learning about rootscope i still havent solved this, the controler send data to the form ...
0
votes
0answers
5 views

get source of selected file in ionicframwork

I am building a mobile app using ionic. One of the usecase is to let the user browse a file and upload it to the backend server (which exposes a rest service). On the UI, I am using the html file tag. ...
1
vote
3answers
22 views

Angular JS - How to apply / bind ng-model late (lazy)

I have a simple scenario in a large piece of code: Angular APP & Controller (all working well) one ng-model element is dynamically created later (or lets say it comes from an ajax call). How to ...
0
votes
1answer
6 views

Display edit picture row per row in table with mouseenter AngularJS

i have a problem with my code , i already make a code with mouseover but it was very slow to display per row my picture edit , so i read that mouseenter is faster ( i hope because i have normaly 2000 ...
0
votes
1answer
17 views

Reduce space between ticks in horizontal bar-chart chartJS

I am using the horizontal bar chart from chartjs. Right now my Chart seems to be very big, and the space between the ticks on the xAxis is very high. ( I attached picture of that), can anyone tell me ...
0
votes
0answers
6 views

UI-Grid Displaying Nested JSON data

I have a Nested JSON object where I would like display the elements over multiple rows, like with the below dummy example, I would like to show it over two rows. [{ "data1":"val1", "data2":"...
-1
votes
0answers
12 views

AngularJS cannot grab values with ng-model while using ng-repeat

I am trying to grab dynamically created information with ng-model (info created with ng-repeat). I am doing so in order to send the information in the form of an object to my flat database, Firebase. ...
0
votes
0answers
4 views

ionic button on list item without ui-sref list item navigation

I've created an ionic list with a ui-sref so that when an item is clicked on, it navigates to a specific page. I have also placed a button in the upper right corner of each list item that toggles on ...
0
votes
0answers
12 views

How to keep panel body collapsed using angularjs

I have a HTML which looks like this <div class="panel-group" id="accordion"> <div class="panel panel-default" data-ng-repeat="(spec,value) in audit | orderBy: 'specification' |...
0
votes
0answers
12 views

How to clean a Service at the end of his use in Ionic / AngularJs

I have a service that looks like this (You can see it's from a shopping cart.) I am trying to reset/remove this cart with a button (Buy More New Items"), to make a new order, but the quantity of the ...
0
votes
0answers
12 views

Errors Migrating from Angular 2 to 4.0.0

After upgrading the packages and dependencies, "typescript": "^2.1.5" "typings": "^0.8.1" "zone.js": "^0.8.4" "rxjs": "5.0.1" Using the upgrade command to upgrade angular packages to 4.0.0 did not ...
0
votes
0answers
7 views

How to tell which field to set to Today with multiple datepicker fields in one form?

I'm trying to reuse the Datepicker Popup example (no anchor sorry need to scroll down a bit). In that example when you click on the calendar icon button there is a Today button that will set the model ...
1
vote
2answers
19 views

How to Observe a Custom Event using RXJS in Angular 2?

I have a third party library that I am intending to integrate with RxJS. This is a messaging library called Tiger Text. According to them I can listen to an event called messages and when the stream ...
0
votes
0answers
9 views

Timepicker model is null but the data is stick to the form after reseting the form in angularjs

I am facing an issue with timepicker. Form is not resetting when I click on reset button. But the model is setting to null. Data is not clearing off from the form. <timepicker readonly-input="true"...
0
votes
1answer
13 views

Cannot find module 'chart.js'.) Angular 2

hey folks i'm using the Angular2 CLI and trying to import the chart.js module but every time i run up the server I get a 'cannot find module "chart.js"' import { Component } from '@angular/core'; ...
1
vote
1answer
19 views

How can I unit test the result of a ui-bootsrap $uibModal instance?

I have a controller that calls $uibModal.open to pop a ui-bootstrap modal. The controller looks like this: (function () { 'use strict'; angular .module('app') .controller('...
0
votes
2answers
30 views

How do I dynamically access a property inside an angularjs directive?

I have a directive when given an array it creates check boxes for that list of items using the Name as the label for the checkbox. Html <div> <a style="float:right; margin-bottom: 5px;" ...
0
votes
0answers
11 views

ui-router child view of an angularjs component not showing

I have an angularjs component(almost empty markup) acting as a shell/parent to its child views(markups with different columns/formats). I am able to see the component but no child views are loaded. ...
0
votes
1answer
5 views

login in angular js:binding input value to the rest api url

i`m trying to input username and password into the input fields and take it to the api url to authenticate the user and return data.i can hard code the credentials to the url and login. but i need to ...
0
votes
0answers
5 views

ng-Idle KeepaliveProvider.http .success is not a function

I’m using ng-Idle and getting an error when I populate KeepaliveProvider.http(…). For the most part I am using the code taken straight from the example given here http://hackedbychinese.github.io/ng-...
1
vote
2answers
26 views

$http.get not sending data in the body of the request

Using angular v1.3.1 i got a singular the following problem trying to implement a facade for making http request to a REST + JSON interface in the backend of the web app. I got something like this in ...
0
votes
0answers
10 views

How to save drag/drop coordinates back to angular model?

My code allows for dragging and dropping of form fields overlaying an page image. I'm using Kendo-ui for the drag/drop but that's not critical to the answer, I don't think, and the demo is overly ...
0
votes
0answers
10 views

need help converting from bootstrap 2 to later version

so I'm building an inbox for angular 1 and I found a tutorial that shows you how to do it but the issue that I ran into was that it used bootstrap 2 instead of bootstrap 3 which is what my angular 1 ...
0
votes
0answers
13 views

First click on submit not working when adding “required” on Mobile

I have this weird problem on my login form, i have two inputs email and password, the required option for email works fine, but when i add it to the password input, the first click on submit doesn't ...
-3
votes
1answer
36 views

How to use $scope.eval() in angularjs to set $scope variable

I'm trying to figure out how eval() works in AngularJS, but I can't seem get my head around it. I have the following: $scope.salaryRate, $scope.priceRate = { number: undefined, type: ...
0
votes
0answers
15 views

How can I bind to my Angular Controller and make ng-repeat work in BootStrap Modal Popup?

I have this in my layout file: @Html.Partial("_Modal", new BootstrapModel { ID = "modal_box", Size = ModalSize.Large }) It ends up rendering like this: <div aria-...
-1
votes
0answers
7 views

How to link 'link' function in a directive to buttons on the page containing the directive in Angularjs

Supposing that I have a template on which I have placed buttons that I want to use to affect the display of a directive on the same page; for example, highlighting a child element of the directive's ...
-1
votes
1answer
11 views

How to export as CSV for selected period using AmCharts?

I have an AngularJS app where I have an amchart stock javascript chart. The chart allows the user to select the period of data they want to view, (1-3 months) and allows the user to export their data ...
0
votes
0answers
21 views

How do you iterate over all variables in an Angular $scope

Given this controller: app.controller("MyCtrl", function($scope){ $scope.foo = true; $scope.bar = false; } Is there any way to access each of these scope variables through iteration. ...
0
votes
0answers
23 views

Browser freezes on subsequent async ajax calls

I have a code that works perfectly fine the first 5 times, then starts quickly scrawling to death and I have no idea where the problem might be. Functionally, the error code is the pagination for a ...
0
votes
1answer
18 views

Passing down all attributes in AngularJS component

Is it possible to pass all attributes down from a component instance to one of the elements in the component template? For example, let's say I have a very simple component: angular.module('...')....
1
vote
2answers
39 views

AngularJs how to insert one div in another?

I have dynamically created a "comment box" <div class="comment-reply-wrap" ng-repeat="repUser in repUsers"> <div class="comment"> <div class="info" > <div class=...
0
votes
0answers
9 views

Front end Angularjs + Back end Jersey REST Services + need to set development envionment

I am beginner with the Angularjs. I have the project configured in eclipse with Front end is Angularjs and backend is Jersey services. I am using the tomcat application servers. The Problem here is ...
1
vote
1answer
7 views

exports.__esModule = true; shows as an error in angular 1.6 transpiled code

I don't know what's the change by babel, but i am trying to resolve from past 2 days :( Issue is: Uncaught ReferenceError: exports is not defined at app.js:2 and I have 102 issues in chrome console ...
0
votes
1answer
16 views

AngularJS and Bootstrap 3 multi-page app (“active” navigation class) [on hold]

First off, let me start by saying that I am just beginning my "thinking in Angular" journey however I have a very strong understanding of jQuery and I feel I have a decent understanding of the very ...
0
votes
0answers
19 views

handling multiple $http requests with $httpBackend

I am using angular-mock and karma to start to write unit tests on angular code. My controller's call multiple url's using angular's $http service. I am trying to cover the controller function's in ...
0
votes
0answers
9 views

angularjs auto-bind transcluded template to controller

Is there a way to get controller to auto-bind to descendants when using transclude ? In example 1, I put template code in its own file: test.html---> <test-pane style="display:block;width:200px;...
0
votes
0answers
11 views

What does a typical nginx.conf (or Heroku deployment) for a RoR and Angular.JS system built on a microservice architecture look like?

I've refactored a monolithic rails app and now it is composed of multiple Ruby on Rails bankends and multiple Angular 2 frontends and I can't figure out how to host it on a single server or on ...
0
votes
0answers
5 views

Highcharts Solid Gauge Overlapping Series Colors

I'm trying to display two different values on a solid gauge, so that they are shown as two different colors without a gradient, and they overlap ie., they are not shown in parallel. Is there a way to ...
1
vote
0answers
25 views

Dynamically adding rows to a table using attribute directive in AngularJs

I need to display a table on my HTML page. The table will contain multiple rows. On clicking the '+' icon of a row(let's call it R1), I call an attribute directive to fetch data and display it in a ...
0
votes
0answers
13 views

how to display object details in alert in ionic 1

On clicking a button i am invoking this funtion $scope.showAlert = function(item) { var alertPopup = $ionicPopup.alert({ title: 'Data', template: JSON.stringify(item), }); ...
1
vote
1answer
11 views

How to add an icon to materialize tooltip?

We have this font awesome icon fa fa-twitter which at the current time sides next to the actual tooltip button of materialize what i need to do is to put it inside the tooltip <div class="center"&...
0
votes
1answer
26 views

Show loading indicator at root level until all route resolves are complete

I've been doing some Googling around this already but I'm unable to find a solution that works. I'm using AngularJS 1.5.5 and .NET Web API 2 to build a web application and I would quite simply like ...
0
votes
1answer
17 views

Expose element of parent component to child

I have a main component that handles the toolbar and sidnav of my angular application. I would like to make a div inside the toolbar available to child components (and controllers) to customize so ...
0
votes
0answers
19 views

Is it possible to write a mock service for a stateful AngularJS component?

I have an AngularJS component that gets data from a custom service, which has a dependency on $http service. Mocking services doesn't seem to be as straight forward in Components as it is in regular ...
0
votes
0answers
8 views

Nodemailer/Gmail does not work from production, only from local

Trying to send out an email when a form is completed. Work when testing on local in Chrome, FireFox, and Safari. When I push to production server (AWS EC2), it no longer works at all. I'm pretty ...
0
votes
0answers
10 views

Seeking Input: Need to move files from PaaS Server to Client

My Dev team and I are discussing a recent enhancement request and I thought I would post on this board to get some outside ideas. A little background, first: We have an Angular app that lets users ...
0
votes
4answers
48 views

ng-click is not firing

adding the following 'hyperlink' to html like: <a style="color:white" ng-click="ClickMe()"><i class="fa fa-trash-o" style="color:white"></i>Click</a> and then use this code ...
0
votes
0answers
10 views

Angular 1.5.x/Jasmine - Expected spy to have been called but it was never called

POST-EDIT: I've just solved the issue, though maybe someone has a better solution. I'll post my solution soon, but if someone has a correct solution I'll accept their answer. I'm migrating my ...