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

Cordova GeoLocation not working in android app

I am using cordova plugin geolocation, to fetch user location in IONIC Android app Code to get location $cordovaGeolocation .getCurrentPosition() .then(function (position) { ...
0
votes
0answers
6 views

Angular 2 polyfills trouble

So I had a hard drive failure and lost everything but of course github to the rescue. I recently finished my first Angular 2 project and did a git clone to recover it and every time I try to run ng ...
0
votes
0answers
2 views

Adding Context Menu in dayClick FullCalendar in Angularjs2

This my current work, but I need to add context menu everytime I click each day Heres my current code: import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-calendar', ...
0
votes
0answers
8 views

How to inject angular directive such as ng-dblclick to all the specified HTML elements?

I would like to have a global handler for all the ng-dblclick occured from button, and input type="submit". How do i achieve this behaviour, by specifying and inject it in app.init.js file? Thank you
0
votes
0answers
12 views

Stop Angular Click event using JQuery

Hi i retrying to restrict the navigation & tab controls in existing application while having changes in data before save. The application is already developed in AngularJS. So i have returned the ...
3
votes
2answers
25 views

Change property name dynamically

I have an object like this var taskText = { 0: "t1", 1: "t2", 2: "t3", 3: "t4" } i'm gonna remove the 1 property using delete like this delete vm.taskItem[1] now the result is ...
0
votes
0answers
6 views

Toggle Element on HTTP response

I'm pretty new with Angular 2. I'm working on angular2 + node js setup. In project its a simple authentication call. What I want is to show a div block if login api returns an error. Here is what I ...
0
votes
0answers
8 views

Ionic 2 form validation issue with formGroup and ngModel

I was trying to implement what seemed to be an straightforward form validation routine following this walk-through on my ionic 2 project. In my controller's constructor I used the FormBuilder like ...
0
votes
0answers
6 views

toggle listview in nativescript with angular

hi i need to toggle listview when the button is clicked in nativescript angular, i added bellow my code. if anyone know please answer me. thanks in advance import { Component , OnInit} from "@angular/...
0
votes
1answer
17 views

Angular 2 EXCEPTION: TypeError: Cannot read property 'next' of undefined

I am trying to update a variable from my service to component. when i try to subscribe to it in the component i am getting error. can anyone help me please. import {Injectable, } from 'angular2/core';...
0
votes
1answer
24 views

How to hide/show in angular 2

I have used [hidden] as below where "secondTab" value is true. <div [hidden]="secondTab"> <input type="hidden" class="form-control" value="{{site.location}}" name="location" [(ngModel)]="...
1
vote
3answers
22 views

How to restrict first character alphabet only for a given input field using angularjs?

I have a text field , <input type="text" placeholder="" class="form-control" ng-model="firstName"> in that text field first character must be alphabet only , when user try to enter first ...
0
votes
0answers
11 views

How to bind multiple custom events in angularjs?

I need to bind custom events in angularjs(1.x) and I tried with the following , How to bind custom events in AngularJS? But, the answer provided seems to be not working.Is there any other better way?...
0
votes
0answers
7 views

Nested ng-repeat for navigation with materializecss, dropdown menu does not appear

I am using materializeCSS with angular for a multi-page website, and currently attempting to use a single JSON file to help generate many pieces of info such as navigation, and then when clicking on ...
0
votes
0answers
13 views

Correct way to export modules in angularjs

I'm having trouble exporting modules in an angular app I'm creating. I've created a directive called searchBar and a corresponding html template. I want to export this new module to another module ...
0
votes
1answer
9 views

Angular Highcharts Reading from multi objects elements

I have a question about highcharts(bar chart). html <div id="SchoolPurchasedResource" style="width:100%; height:400px;"> </div> High charts This is the data format that I want data: [ [...
-1
votes
1answer
11 views

how to pass null as value of a variable in data of ajax method

I want to send a null value in the "mailID" field as email id is not a required field in the form. var app = angular.module('MyApp', []) app.controller('MyController', function($scope, $http, $window)...
0
votes
0answers
16 views

Angularjs : How to prevent ng-change triggered after loading the page when ng-change connected to a datepicker input?

i have some issue here about datepicker input with a directive of ng-change. seems like a change is triggered when the page is loaded because the datepicker is inside js document ready function. how ...
0
votes
1answer
25 views

How can we write json schema for multiple html form in a single html page?

I am using HTML along with Bootstrap and angular. I have 2 forms (same page, not nested), a. Search form (fetch data from db using spring boot) b. Input form for inserting data to db How can I write ...
0
votes
2answers
17 views

need angular response of post/get request out of scope, any suggestions?

i am trying to get response of post/get requests , getting response successfully inside post/get,but unable to get result out of post/get . when i print on console it is showing "undefined". any ...
0
votes
0answers
9 views

Using HttpContext.Current.Request.Form getting rong value in web api with angularjs?

I am create one small demo for show user list using web api with datatable angularjs.then i want to create server side pagination on this datatable and i am try for this code and post the data on api ...
-2
votes
1answer
20 views

How to uniquelly identify the states in angularjs?

I am adding states dynamically and I want to identify them uniquely, what is the way to do that... any example will be helpfull thank you
1
vote
1answer
27 views

Easiest way to unsubscribe subscriptions Angular

Hi am very new to Angular. I have around 4 database queries and each of them are Subscriptions(rxjs/Rx). So I know I need to unsubscribe each of my subscriptions to save memory leakage. How can I ...
0
votes
1answer
14 views

anchor tag link is changing the URL or not changing the state Angular JS

I am having an element link this in my code. Order Status and the state like this in router.js .state('order_status', { url: '/order_status', views: { 'slot1': { ...
0
votes
1answer
16 views

Disable selected option if already selected in a dropdown

This is my data coming in json format [ { "SecurityQuestionID": 10, "Question": "Which is your favorite web browser?", "IsActive": true, "Created": "2017-02-22T05:15:57+00:00", "...
0
votes
0answers
7 views

error of xmlhttprequest cannot load

I am trying to implement routing concept in my PoC of angular routing but facing an issue there are my code files attached This is my Index.html <html> <head> <title>...
1
vote
0answers
10 views

Error in getting geolocation in ionic application

I am building an ionic application in which i need geolocation of the device. For that i am using cordova-plugin-geolocation and my code is this : But i am getting this error again and again. I ...
1
vote
1answer
15 views

Edit field in background while keeping an Angular UI Modal open

In this plunk I have an Angular UI modal that's open and doesn't allow to edit/change anything in background. I need to edit a text field while keeping the modal window open. Is this possible? HTML ...
0
votes
1answer
10 views

how to get google contacts email and phone number ionic, cordova with $cordovaOauth?

I need help in getting the google contact details email, Phone No. in ionic, cordova with $cordovaOauth.
-3
votes
2answers
32 views

Angular JS function doesn't call from html

I am trying to develop a responsive web view. In this html source, I am using angular js. I am trying to call a function (which request initiateNetverify api) from html source. I have 2 issues, 1. ...
0
votes
1answer
15 views

ionic 2 serve command error: Uncaught (in promise): [object PositionError]

some times when serve command run, this error appears and after several time automatically will gone: I had to mention that this error only on map page which loads google map only appears Uncaught (...
0
votes
3answers
20 views

angular foreach not waiting for server response

angular.forEach(tableName, function(value, key){ console.log("value ", value) getFormsService.getTableData(value).then(function(dynResponse){ console.log("key",key," dynResponse", dynResponse....
0
votes
1answer
20 views

Show Loading GIF, until coordinates are fetched

Angular code and cordova plugin to get geolocation : $cordovaGeolocation .getCurrentPosition() .then(function (position) { $scope.map.center.lat = position.coords.latitude; ...
0
votes
3answers
38 views

How to setup click event in directive in my case?

I have a directive like this <div my-directive="htmlItem"></div> //htmlItem is dynamic my directive angular.module('myApp').directive('myDirective', [ function () { return ...
-1
votes
0answers
8 views

unable to replace string using gulp-replace and gulp-replace-tak for quoted string

I am trying to create gulp task which will replace the content from json file. key is below "APPLICATION_PARAMS": "{\"platform\":\"web\"}" want to replace above with "APPLICATION_PARAMS": "{\"...
-1
votes
1answer
40 views

how to remove %20 (url encoding) from browser url

i am building a large scale web application powered by angularjs with a search module that depends highly on query string params. right now when i search my url becomes http://localhost:8080/...
0
votes
0answers
11 views

CRUD operation using form.io and .net mvc

I am new in https://form.io/. Can any one help me doing CRUD operation using https://form.io/. I have create basic form in https://form.io/#/ and embedded this form in the application through form tag ...
0
votes
0answers
6 views

Display each contents of UI-Grid in tab pane

I have an requiremet where there is a ui-grid which contains list of all users with a hyperlink cell on click of a user in Grid it should display the detailed view of User in a tab pane for SPA ...
0
votes
0answers
21 views

Getting a 404 error PUTting to an API endpoint

I am attempting to PUT a record update to a Rails endpoint using AngularJS $http.put() (I think this detail is only tangential but I'm including it for completeness). I can see the action is making ...
0
votes
0answers
11 views

Azure Web App Publish for Angular JS App

I have web app in azure. We use publish app via CI and CD VNext Templates. In that, I need to publish my dist folder alone. Please advise. Thanks.
0
votes
2answers
21 views

Why do we use Factories/Services for ajax calls in Angularjs?

I was taught that we use factories/services to eliminate the duplicate coding. Here's a part of the code which works fine. app.controller('ServicesCtrl',['$scope','DataFactory',function($scope,$http,...
0
votes
0answers
12 views

swipe up and down menu in ionic

i'm trying to show a button below the ion slide element once the user swipes down the view occupying the bottom half of the screen. but the view ends up being positioned at the back of the ion slide ...
0
votes
0answers
17 views

How to add buttons for each record using datatable and angularjs?

I have the following table which filled in this way, I data users returns. To this table I must add a new column calling the actions and this column goes for each record that is in table 2 buttons of ...
1
vote
0answers
18 views

Batch edit in MEAN STACK angularjs

I am using MEAN STACK Technology .I try to create a batch edit functionality like i refer following link I create it's come's row edit functionality like this https://vitalets.github.io/angular-...
0
votes
3answers
55 views

Find the special character from an array

I am trying to write one validation in a user input box where alpha numeric value is allowed along with some special character. I trying to show one error message if a user entered special char which ...
0
votes
0answers
8 views

Export visjs network to jpeg/png image

I am working on angular visjs. Visjs works on canvas for creating nodes and links between the nodes. Is there any way to get the image (jpeg/png) from the visjs canvas?
0
votes
1answer
22 views

Angular -Sort nested table

I'm working with nested table Example data: $scope.building = [ { "id": 1, "name": "first", "ownBlock": [ { "id": 1, "name": "Block ...
-3
votes
0answers
17 views

best framework for designing workflow editor [on hold]

I am working on creating a web application for creating interactive workflow editor. Drag and drop svg objects to create a workflow/flowchart and define actions for the svg object and would like to ...
0
votes
0answers
6 views

ag-grid cell renderer by using multiple field

how can i render a cell content using multiple fields of row data ? for example headerName : "Type", field : "FileType", cellRenderer: iconCellRenderer and function iconCellRenderer(params) { ...
0
votes
2answers
25 views

How to filter the name in the select options angular js

I have a select element, which has a name and id as a option value. and am adding '-' along with name. There is a scenario where the name will be empty, the '-' should not be shown. the expected ...