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

Angular CORS works with $http but not with $resource

I am new to angular, using v1.6, I have implemented a basic service for GET requests to communicate with Jetty service on a different host. After annotating my service endpoints with ...
0
votes
0answers
5 views

Custom directive validation rule always pending

I have this custom directive in my project: app.directive('imgUpload', function validFile() { var validFormats = ['jpg', 'gif']; return { require: 'ngModel', link: function (scope, elem, ...
0
votes
0answers
12 views

populate a select box in angular js which vale is coming from the get request?

I have a filed which i defined as select i want to populate the drop-down automatically as per the get request but it should also be available to be changed by the user. following is what i tried: $...
0
votes
0answers
10 views

DnnApiController returns 401 for non Super Users

I have a Dotnetnuke module that uses angular.js as its client side and WebApi as its server side : Here's my Controller : public class AppController:DnnApiController { [HttpGet] ...
0
votes
0answers
18 views

ng-repeat multi level table with angular

Here is Js Fiddle link which I have created. html code <div ng-app="myApp"> <div ng-controller='tableCtrl'> <div> {{test}} </div> <table ng-repeat='(k,v) in ...
2
votes
0answers
27 views

Not able to select previously selected option

ng-change is not getting fired after selection of previously selected option. Because of which i am not able to handle the same next selection. <select ng-model="selectedOption" ng-change="...
0
votes
1answer
21 views

passing an object to ._map in typescript

Below is my class with static member config. import {Injectable} from '@angular/core'; import {Config} from '../shared/interfaces' export class GlobalData { static config:Config = { ...
1
vote
0answers
11 views

Authentication with express-session and angularjs

I have created a nodejs-expressjs application for the backoffice and i use angularjs for the frontpage. On nodejs (localhost:3000) i use: express cookie-parser express-session On the app.js (server ...
0
votes
0answers
17 views

Internet Explorer plugin to run fast it like Google Chrome for angular spring boot websites

We are working on website having lots of data on home page built using Spring boot + angular js in jhipster. The home page and other pages have drop downs those were loaded with thousands of data. ...
-2
votes
0answers
22 views

How to encode special character '@' while calling URL (AngularJS) [duplicate]

I am calling a URL and method is delete. -> var promise = $http.delete(http://127.0.0.0:8283/client/[email protected]+"&CorrelationId="012345").then( What is happening is that ...
0
votes
0answers
33 views

Reload modal window after click on a button

how I can reload a modal window after click on a button? Here there is the controller of modal window (function(){ 'use strict'; angular .module('casalibroApp') .controller('...
-3
votes
0answers
15 views
-1
votes
2answers
25 views

Remove # symbol from the url in angular js

I am facing issues with the "#" symbol. I want to remove the # from the URL of my angular js website. I try to remove it with the help of "link provided" but it is not working and the site doesn't ...
1
vote
3answers
20 views

What is the AngularJS version used in JustDoc?

I was going through JustDoc and wondering which version of AngularJS they have used. Is it possible to find it using the inspect element?
0
votes
3answers
23 views

Implementing a Session Factory

I have the following application implementing a Session Service that interacts with the HTML5 window.sessionStorage object. It works well. I'm trying to do the same as the service using a Session ...
-1
votes
0answers
7 views

Code required for default translation text for multiple translationIds in $translate service in angular-translate

The existing signature for $translate service is : $translate(translationId[, interpolateParams], interpolationId, defaultTranslationText, forceLanguage); here translationId can take array but ...
-2
votes
2answers
15 views

How to add background color to particular row using pagination

Here i am iterating through array using pagination.The array has the count variable in it which can be accessed by {{x.count}}.I need to add background color to the row with count=0 . As shown in ...
1
vote
0answers
17 views

How to restrict drag and drop for particular node in tree in angularjs?

I created treeview example in angularjs with drag and drop. I want to restrict drag and drop for particular node Ex:- node 1.2 always be child node need to restrict drop other node on node 1.2 and ...
1
vote
4answers
35 views

angular is not defined

I am getting this warning when I run gulp in command line terminal. I have added the angular.js file in HTML code. I can't figure out the problem. HTML code: <!DOCTYPE html> <html lang="en" ...
0
votes
4answers
40 views

AngularJS Cannot read property of undefined

I am trying to get a date value. Whenever the the checkbox is unchecked and the date picker is invisible I am getting the error that : 'Cannot read property 'NTLI' of undefined'. if the check box is ...
0
votes
0answers
15 views

Reader.onload upload image file to blob angularjs

I'm in this problem a days. What happens is the following when I try to click the update image button I can not do the image update on the first try despite my console.log it return me the correct ...
0
votes
0answers
18 views

Adding sub column attributes to next row in Angular

I'm working with Ticket Distribution project, I want to add the sub column iterated list into next row of the same parent ticket. As described in mockup (Stag x 4) and next line (Couple x 1). Here ...
0
votes
1answer
17 views

submit button not getting invoked - AngularJs

I have a form with multiple controls, in which I have set the required field validation. If the data is correct, i want to invoke the submit button. But even when all data are filled, and clicking on ...
0
votes
0answers
35 views

How to disable buttons on ng-blur when data doesn't match from database while changing the value of drodown

I have two columns and 3 buttons in a form and i am using data-ng-blur to disable these buttons until user id and password don't match in database. and it's working fine for the first time but when i ...
0
votes
1answer
21 views

Issue - How to reset pager back to page 1 in Angulas js pagination-control?

I've been working with the pagination directive. By basic setup is a single page which allows the user to enter search criteria and then click search to see the results. The results are displayed on ...
1
vote
0answers
18 views

Finally clause of promise never getting executed in Jasmine test

I have this jasmine test, and the finally clause on a promise appears to not be getting executed, as I get the error: PhantomJS 2.1.1 (Mac OS X 0.0.0) Service: petsFactory .getPetsAsync() should ...
1
vote
1answer
26 views

angular_1.default.module Uncaught TypeError: Cannot read property 'module' of undefined

I am creating a starter template using angular 1.6, webpack, gulp and typescript. I am able to compile and build my application but app is not bootstrapping. The issue is weird as when I am debugging ...
1
vote
0answers
5 views

IE 11 +In glyphicon-calendar when select the date of the next month mirror image comes

In the IE 11 , date controller when i open the date controller and select the date of the next month in that case the mirror image comes. Please note that this image comes only one time when i open ...
0
votes
1answer
17 views

Unable to deploy REST based Node.js APP on heroku

I build a Node.js REST implementation using this tutorial .And now i am having problems deploying it on heoroku , local works fine . Heroku logs : I believe the problem is with my directory ...
0
votes
0answers
33 views

AngularJS + Bootstrap - Unexpected token < [duplicate]

I'm writing simnple app in AngularJS and i've run into some problem with ui.bootstrap Datepicker. After adding code to my app, from https://angular-ui.github.io/bootstrap/ Console gave me an error: ...
0
votes
0answers
11 views

Gulp + Babel + Webpack + Karma: Use sourcemaps for stacktrace

In an AngularJS 1 project we use Gulp to compile the project with webpack and test it with Karma. We cannot get sourcemaps to work as expected. I found the obvious plug-in (https://www.npmjs.com/...
0
votes
1answer
39 views

Injection of unknown provider in Angularjs Project

I am getting this error while running my angular app. I have installed all packages using npm. Is this issue direct me some version conflict between angular and angular-animate? Uncaught Error: [$...
0
votes
0answers
26 views

how to bootstrap pop-up override kendo-popup

In one of my application,there are lots of kendo window-dialog pop up.when click the button , kendo popup is open, while opening the kendo pop up, user is idle for 1 minute, need to show the warning ...
0
votes
0answers
12 views

is it possible to have ngAnimation without adding any class for all the ng-if across application?

I have referred so many answers for this but the problem is we have already written so many things in our web app. and now i want to add animation for ng-if across all without going and adding classes ...
1
vote
1answer
27 views

Login application - redirect to another page on click on submit button

When I am running index.html its opening but on clicking the submit button in login page I need it to redirect to another page such that validation happens in the redirected page and it displays ...
0
votes
1answer
6 views

Microsoft.Maps.loadModule with Angularjs

I am using Microsoft.Maps.loadModule in a directive for AutoSuggest functionality. Problem is that script is loading async and my directive trigger before script is loaded... Can you provide me with ...
0
votes
0answers
20 views

On reload angular does not render view in layout instead just return view without layout

this is my route $route['admin/(.+)'] = 'admin/index/$1'; this my is index function in admin class public function index() { $this->load->helper('user_info'); $page = '...
0
votes
1answer
25 views

how to use lodashJs to group a result in angularjs

I'm trying to populate a tree component using angularjs via this JSON object: var myData=[{"agence":"CTM","secteur":"Safi","serie":"CZC1448YZN"},{"agence":"CTM","secteur":"Safi","serie":"2UA13817KT"},...
-2
votes
0answers
15 views

Input focus in every slide

I have slider (ng-repeat) each slide have input and I want when actual slide show have focus input. <input autofocus>
2
votes
1answer
38 views

hide div while clicking on outside it in angularjs

I am trying to hide a div when i clicked on outside it, below is my div <div ng-show="item.showLimit" class="set-limit"> <input type="text" ng-model="item.newConcLimit" /> <div&...
0
votes
0answers
23 views

Not able to upload file - Error:undefined - Angular Js

How to use file upload option in Angular Js? I added a file control, and added method in controller.js to get the file details and pass to the service.js. However, I am getting error as undefined. The ...
0
votes
1answer
23 views

Replace with new source files without reloading the app

Lets consider my case, I have deployed some js and html files, and i am seeing it in my browser now. Then again i am deploying few changes to my current angular app. My question is , Is there any ...
0
votes
0answers
9 views

Angular 1.0.7 Dropdown for touch devices

I just noticed that my dropdown menu doesn't work on touch devices. I'm using bootstrap. The menu item itself it clickable and will show the dropdown items, but these items cannot be clicked or ...
0
votes
0answers
39 views

Angular Service doesn't return value

Im using angularjs in MVC. Here My Controller.js: //Get User By ID $scope.GetUserById = function (UID) { var Get = UserService.GetUserById(UID); Get.then(function (response) { $...
1
vote
0answers
13 views

Mobile scroll using dragular on angularjs

I have some problem when scrolling thru mobile browser. The page will display list of images, user can do drag and drop to rearrange the order of the images, but there is a problem when scrolling the ...
0
votes
6answers
30 views

form validation using angularjs

Im trying to validate my form, if the fields are valid then it should post the data to the DB if not prevent from posting the data to DB. when I submit the form Im getting an error TypeError: Cannot ...
0
votes
2answers
31 views

MEAN angular ui-router doesn't load states

I am building a website using meanstack. However, it failed to load any state I defined in app.js. And there is no errors shown in console, and every js file is loaded successfully. Here is my index....
0
votes
1answer
15 views

ng:areq : While resolving data Angular UI Modal

I got some data passing from a controller to modal's controller. In my controller: vm.timetableModal = modals.open.timetable(vm.store.formatted_working_hours || null); vm....
0
votes
0answers
12 views

Path setup during new server

Hi I am restoring server setting from CAR file but while doing this I am getting following error. org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested ...
-1
votes
2answers
28 views

Pass my class with ng-click

I have this: ng-class="serv.name == xxx ? 'class1' : class2 And I would like to do this: ng-click="functionName(ng-class)" with this in js: $scope.functionName(ng-class){ if(ng-class == class1)....