Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
307 views

I have to work on an old AngularJS 1.5.5 app for maintenance purposes but I don't know how to setup a good env for it. Which version of NodeJS/NPM should I install to make it working with the gulp ...
Musab Gosset's user avatar
0 votes
0 answers
99 views

I want to override the templateurl of the component. Lets say I have below component. angular. module('myApp'). component('greetUser', { template: usertemplate.html, controller: function ...
sree's user avatar
  • 902
0 votes
0 answers
60 views

I need to refresh one HTML element at certain times. The element is currently generated by a component. I've managed to add a directive (the Attributes example at AngularJS Reference / $compile) to my ...
CJ Dennis's user avatar
  • 4,384
1 vote
0 answers
295 views

I'm using angular-moment-picker with moment-tz and it correctly uses the time zone originally set, but when I change the time zone for the model, the picker changes back to the local time zone of the ...
CJ Dennis's user avatar
  • 4,384
-1 votes
2 answers
341 views

i'm a newbie of AngularJS (using v1.5) anh now I have a problem: I use javascript jquery.marquee (https://aamirafridi.com/jquery/jquery-marquee-plugin) in html same that: <script type="text/...
Kid1412's user avatar
0 votes
0 answers
849 views

this may be a simple question, but I have looked and cannot find my answer... I have an input box with an Angular-UI Bootstrap datepicker: <input type="text" class="form-control" id="id" ...
user972276's user avatar
  • 3,073
0 votes
0 answers
382 views

Is it possible to use Application Insights with Angular JS 1.5.x? The snippet from this page seems to require a static key, but we need to specify this at run time, per environment: <script type="...
Matt W's user avatar
  • 12.7k
5 votes
1 answer
2k views

Two way data bindings not updating between components I am setting up inter component communication using two way data binding. I have one parent controller which fetches data from AJAX call and sends ...
Sujay Subrahmanya's user avatar
0 votes
1 answer
194 views

I am new to Angular JS that wise I ask a silly questions regarding debugging tools for Angular JS 1.5
Rakesh Ranjan's user avatar
-1 votes
1 answer
43 views

I want to make a cross domain request to JSON file residing in another machine from my machine. I used the below code to make that call $http.jsonp('http://10.2.1.1/testdata/samplefile.json?callback=...
Monie corleone's user avatar
0 votes
1 answer
116 views

Very new to angular and currently stock in something I have a dropdown that is set up like this <div class="col-md-3" ng-repeat="item in templateCtrl.template.templateDetails"> <select ...
TheProvost's user avatar
  • 1,913
0 votes
1 answer
38 views

Hey all I'm getting this Error Message when trying to use 'gulp serve-dev' on my codebase (https://github.com/CraigOldfield/AngularJSWork). The steps to reproduce where as follows: Clone the repo onto ...
Craig Oldfield's user avatar
0 votes
3 answers
7k views

I want to import an Excel file into my database using angularJS1, Hibernate 4.3.5, Spring mvc 4.2.4. The Excel file is imported via a window (table consisting of children "last name, first name", and ...
woodson's user avatar
  • 27
0 votes
1 answer
450 views

Pretty new to AngularJS and I feel like I've hit something I don't quite understand. I have a AngularJS component that is opened by a UI-Boostrap modal. The modal body can contain a nearly infinite ...
user2079828's user avatar
1 vote
0 answers
425 views

I have problem in using ui-grid with components in angularjs version > 1.5. Can someone help me to give me a method to do that? Because I don't use scope and in the documentation of ui-grid is for ...
developer's user avatar
  • 145
0 votes
1 answer
132 views

I want to know the best way to proceed given the following information: I have a controller which makes 2 http calls using a factory. DataFactory.getTestDisplaySections(testID).then(function (...
pparas's user avatar
  • 549
1 vote
2 answers
1k views

I have an Angular directive (myUser) which is working. It's defined in an AngularJS 1.5 project, using TypeScript like this (I'm assigning the controller directly inside the directive) . The directive ...
Chris Halcrow's user avatar
0 votes
1 answer
141 views

I have a simple PostgreSql query that looks like: $params = array(); if ($audienceId === x) { // all teachers $pullRecipients = $db -> prepare( "SELECT email FROM app.employees WHERE ...
Clint_A's user avatar
  • 546
0 votes
0 answers
183 views

I am trying to slide list items as previous and next one by one. My example will look like below < Li1 List 2 ulList 3 List 4 Li5 > After click on Next(greaterthanIcon) Li1 should be hide ...
Yashwanth's user avatar
  • 171
0 votes
1 answer
36 views

I have this expression in Angular 1.5 : {{(var1/var2)*100}} It show me a result but how can I validate inline if the value of var2 is 0, the result of the operation would be 0 inmediately?? Thanks
user avatar
0 votes
1 answer
276 views

This is a sample directive I have created to help understand the issue described in the title: define(['angular'], function(angular) { 'use strict'; var randomElement = angular.module('...
Tarps's user avatar
  • 1,943
2 votes
2 answers
3k views

I'd like to pass a custom template, via bindings, into an AngularJS Component and render it using his scope. Something like this (pseudo-code, this is not working): angular .module('myApp', []) ....
Mati's user avatar
  • 1,148
2 votes
1 answer
259 views

I would like to implement in such a way that , when we click the image ,the selected image should appear front and the rest of the images should hide behind the selected image . I have got the code ...
Vivek's user avatar
  • 293
1 vote
1 answer
6k views

New to angular 1.5 and trying to better understand component communication. Wondering if I can have a component inside another component's template? And if so, how do they communicate with one another ...
karanaditya993's user avatar
0 votes
1 answer
312 views

I'm using material design lite for a proof of concept. I have a page with a form that will be pre-populated with backend data when loading. I noticed that when navigating using angular, the form field ...
pollirrata's user avatar
  • 5,294
0 votes
2 answers
69 views

Below is the index.html file: <html ng-app="myApp"> <head> <title> My Contacts App </title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular....
Ras's user avatar
  • 3
-2 votes
1 answer
101 views

Simple ng-class binding is not triggered when called inside a function, how can I resolve this? $scope.afterHide = function() { $scope.inputState = "fade-in"; } <label ng-class="...
redleome's user avatar
0 votes
3 answers
68 views

I have example code below where I am supposed to create a list of items. <div ng-hide="listTrigger"> <!--FIRST TABLE--> <table class="table ...
Sachin's user avatar
  • 21
0 votes
0 answers
200 views

we are having below design in our application. <parent component> <child1 component> </child1 component> <child2 component ng-if="child1 is completed"> </child2 ...
Vicky's user avatar
  • 45
2 votes
1 answer
134 views

I have two controls in a form. zip code - (input type text) and city - (select options) The back-end rest service sends json object which will contains zip codes and city names. I want to change ...
Renuka's user avatar
  • 146
1 vote
0 answers
35 views

I am working with the code from below link http://ionicmaterial.com/ and wan to work with angular 1.5. I have checked the package.json and they have not specified any angular dependency.So don't know ...
FalconFlyer's user avatar
1 vote
1 answer
918 views

I've got the following code, where I expect the content of the property variable to be displayed in the page. I read a couple of posts and tried to find out what I'm doing wrong, but couldn't find the ...
N.Zukowski's user avatar
0 votes
2 answers
196 views

<img src="img/temp.png" class="img-responsive" ng-if="series === 'Temperature' || series === 'T' || series === 'Temperature-138828'"> I tried like this, but it didn't work: <img src="img/...
manvi77's user avatar
  • 568
1 vote
1 answer
3k views

How to display ng-repeat in a component as a table? Why is my item component not displaying data as table rows? Here's a Plunker and the code as well: index.html <body ng-controller="MainCtrl as ...
basagabi's user avatar
  • 5,074
0 votes
1 answer
530 views

We have rowtemplate() in grid-ui, can we have same kind of functionality in slick grid. I have to merge alternate row and display data in that merged row. Usage of rowTemplate in grid-ui, I need ...
Anil Kumar's user avatar
0 votes
2 answers
587 views

I have a ui-grid that has a toggleFilter button: $scope.gridOptions = { ... enableFiltering: false, ... } $scope.toggleFilter = function () { $scope.gridOptions.enableFiltering = !$scope....
Paul's user avatar
  • 3,984
-1 votes
1 answer
3k views

I have created a simple table in HTML file. Now I need to make it exported in PDF or Excel or CSV format in Angular JS? Is there any easy way to do that?
Teddu's user avatar
  • 209
0 votes
4 answers
3k views

I am new to angular JS. I have one controller (.js file) in which I wrote a function to make a http get call to back-end. Like below: $http({ url: "services/rest/1.0/...
Teddu's user avatar
  • 209
0 votes
1 answer
579 views

Hi I am new to Angular JS. I have one HTML file which has one dropdown and one textarea. Text area value will be updated based on selected dropdown value. Note here: textarea won't display the same ...
Teddu's user avatar
  • 209
1 vote
0 answers
466 views

I've decorated the AngularJS $log service, but I can only see it load the config and none of the $log methods are decorated. This used to work and I have a lot of $log.info(...); in the application ...
mtpultz's user avatar
  • 18.5k
1 vote
0 answers
440 views

Is there a way to get transclude content after it has been interpolated using $transclude in a controller? I want the transclude to be performed without any alteration, but I need the interpolated ...
mtpultz's user avatar
  • 18.5k
2 votes
0 answers
1k views

I've setting up ESLint for a legacy project that uses ES5, but the shareable configs all seem to be ES6. So after pulling in eslint recommended and google I've had to start adding extra config to ...
mtpultz's user avatar
  • 18.5k
3 votes
0 answers
1k views

I've been rewriting directives in Angular 1.5.8 to components. I want to write unit tests with '$componentController` just like described here: https://docs.angularjs.org/guide/component. The ...
pennyroyal's user avatar
0 votes
1 answer
442 views

I have the following code for generating the tags in ng-tags-input $scope.loadTags = function () { return $q(function (resolve, reject) { resolve(vm.campusesList); }) } Inside the vm....
Ahmer Khan's user avatar
0 votes
1 answer
51 views

I am calling function on ng-keyup and trying to pass a textbox value which is not actually got passed and got "undefined" variable html code <md-input-container class="md-icon-float md-block">...
SaMeEr's user avatar
  • 381
0 votes
0 answers
98 views

I'm converting an Angular 1.3 project built in .net to 1.5 components with typescript. I have a directive that I have boiled down to its simplest possible form. The directive looks like this: app....
CDAGeek's user avatar
  • 59
4 votes
1 answer
4k views

I can download a PDF using AngularJS in Chrome, but this doesn't appear to work in the latest FireFox, Internet Explorer 11 or Edge (assuming it doesn't work for IE10 either), and I know a shim is ...
mtpultz's user avatar
  • 18.5k
0 votes
2 answers
309 views

I have a quite large from, I trying to reset it in button, but it did'nt work as expected. See my code below function someCtrl() { var temp; var vm = this; someService.then(function (res)...
Amir Suhail's user avatar
  • 1,304
1 vote
0 answers
319 views

Is there a way to chunk millions of records in a Restful API call? I am using Angular.JS / Ionic for the client and have a restful API that works great with smaller number of records about 10,000. ...
techwestcoastsfosea's user avatar
1 vote
3 answers
3k views

I want to inject the momentJs library in my typescript code to do operations on a Date object. But I am not familiar with injecting typescript through angularJs, since it is little different from ...
Raunak Matai's user avatar