AngularJS 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 single-page ...

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

POST parameter not working in twilio REST api

I am trying to (and have to) use the twilio rest api to create/update channel for ip messaging using angularjs. Below is my code: The problem i am facing is, POST parameter not working. Channel is ...
0
votes
0answers
3 views

Get Progress Events of Cordova File Transfer from factory with Ionic

I have this factory that manages the upload file with Cordova File Transfer plugin: app.factory('Camera', function($q) { var url = "http://www.myurl.com"; return { uploadPicture: function (...
0
votes
0answers
13 views

what is wrong with this AngularJs code- in browser code editor- Nodejs

Hi am trying to create in browser code editor for free knowledge sharing for high school students from basic level. after long struggle with search i got this link. i just did some setup and changes ...
0
votes
0answers
5 views

How to make rotational trajectories of a rigid body by using quaternion differentiation formula

I have some NumPy functions which can return a sequence of 180 degree rotation of a rigid body about axes x, y, and z. Now I would like to make rotational trajectories by using quaternion ...
0
votes
0answers
8 views

creating item in controller with angularjs

I created a custom directive like below. app.directive('myDirective', function () { return { template: '<h1>This is myDirective</h1>', restrict: 'E', replace: ...
0
votes
0answers
3 views

ui-calendar angularjs in ionic framework

i am working on ionic mobile app using UI.calendar .i am getting this issue (viewRender) which is not working . kindly help me if some have idea about this . $scope.uiConfig = { calendar: ...
0
votes
0answers
11 views

Dynamic links with angularjs and ng-repeat

I'm creating an app using fake JSONplaceholder API. I'm displaying a list of posts and I want the ng-repeated post titles to link to the post view. Here's the HTML: <body layout="column" ng-...
0
votes
2answers
21 views

How to trigger the click event inside ng-repeat of angularjs?

I am doing the ng-repeat for showing the project list in my app. on click on the individual project I need to show the list of surveys inside the project. But when the page get loaded for first time I ...
0
votes
0answers
4 views

How do you load service, resolve a function and pass data to controller through ocLazyLoad state?

In a $stateProvider state I want to: Load a service JS file Resolve a service function (API call) Pass resulting data to controller controllers/my-controller.js angular.module('app'). ...
0
votes
2answers
16 views

angularJS json getting resource?

getTestimonials: function() { Requests.postData({ action1: 'getTestimonials' }, { market: "sg" },...
0
votes
0answers
5 views

top col-12 bar/div, lateral left col-md-3 scrolliing div and lateral right col-md-9 div with google maps

I have the following structure: <div class="container-fluid"> <div class="row-fluid"> <div ng-include="'templates/top.html'"></div> </div>...
0
votes
1answer
12 views

How do I fetch a single object from a json array to display it in my ionic app?

My json array is this. How do I fetch only the "First_Name" using angularjs? { "Info":[ {"First_Name":"Monica Jeallan","Last_Name":"Cortez","Contact_No.":"(0918)542-9254"}"Street":"811 Ben march ave"...
1
vote
1answer
16 views

ng-disabled doesn't work in Angular Chosen

I have two select boxes in my project. First one shows formats and the second one has two options, namely, "Yes" and "No". I have used angular chosen on both these boxes. Initially, the "Yes" option ...
0
votes
0answers
16 views

how to update value of modal content in function which update every second

I have function which runs when the countdown timer get start. So I want to open a Modal when the timer get start and update the value of modal template content every second (value comes from ...
0
votes
0answers
5 views

Angular Material - Eliminating space between text and underline in input

I am using angular Material for my App. I am using certain input fields. The problem is, there's a space between the border and the text written. Image of Space. My Input field has a height of 30px ...
0
votes
1answer
13 views

Best practice transferring list data from controller to the another controller

I want to display view once the list of content is retrieved from the database display it in the view. On a high level what I am doing now works more or less but upon first access the previous ...
0
votes
3answers
25 views

how to compare two javascript array using angular.foreach

I have two javascript Object var obj1= { key1:'value1', key2:'value2' }; And var obj2= { key1:'value1', key2:'someOtherValue' }; As you ...
0
votes
0answers
3 views

encode-decode base64 string AngularJS1 TypeScript?

I am using Angular1 with TypeScript. I have a simple question. Is there any way to encode-decode a string in base64 with the environment, I use.? I have searched a lot, I could find this. But I am ...
0
votes
1answer
7 views

Destroy event listeners from AngularJS service

I wrote this factory: function myEvents($log, $rootScope) { var service = { broadcast: broadcast, on: on }; return service; function broadcast(name, args) { $...
0
votes
1answer
9 views

How to find angular-route is already installed in my machine using npm

I am a beginner to angular js and learned how to use directives. Now, as part of learning MVC model I want to separate models from view for that, I have created respective html and js file. On ...
0
votes
2answers
15 views

AngularJS $http.post return status 0

I'm working on Ionic framework's angular js. And when I request the data, it always return the status 0 as the error. I believe the issue is HTTP access control (CORS). But I already set Access-...
1
vote
0answers
17 views

partial loading of image when ever application is opened

Hi I am developing a cordova application. I nearly have 3000 PNG images.I built an apk file and tested in various android device.In few mobile images are loaded but In few mobiles few images are ...
0
votes
0answers
29 views

storing of URL in Query String

I am working with javascript (angular js), when a user clicks an advertisement regarding a feature of an app it should redirect to link given in the advertisement after login into the app. How to ...
0
votes
0answers
23 views

Are angularJS directive names unique (or not)?

Found this amazing video that explains angularJS directives. However, there is one thing that i heard that i have a question about. "In angular directive names are not unique so we need to support ...
0
votes
0answers
8 views

angular-ui-tree drop INTO node

I am currently using Angular UI Tree connected trees. Tree1 has only one level of depth while Tree2 is unlimited in depth. I need to be able to drag any item from Tree2 INTO Tree1 items and catch that ...
0
votes
1answer
12 views

Ionic , AngularJs: Directive attribute $watch stops working after view is rendered

I want to create an attribute directive for ionItem and I want it to watch its own value: <ion-item ng-repeat="item in items" my-dir="{{data.watchedValue}}">….</ion-item> I have an ...
0
votes
0answers
12 views

Adding header to angular POST causes request body to be empty

I am using angular to POST a file to an Amazon S3 bucket. In order to get the bucket to accept the request I am attempting to add an Upgrade-Insecure-Requests header to it, when I do so, the request ...
0
votes
0answers
7 views

CordovaOauth only detected basic permission in Instagram

I am using cordovaOauth https://github.com/nraboy/ng-cordova-oauth to authorizate the user with instagram . My problem is that when the user authorizate with api only accepts the basic permissions ...
0
votes
0answers
6 views

Google index _escaped_fragment_ page instead original page

I developed a website with Angularjs and for indexing of Google I used _escaped_fragment_, but when Google show the result _escaped_fragment_ pages. For example : The original page is: http://edbazar....
0
votes
1answer
18 views

angular 1: image won't reload after a while

In my HTML I have this img link: imgURL is set in the controller: $scope.imgURL = 'img/img_'+$scope.img.id+'.jpg; With the first changes it works perfectly, but after a while the image doesn't ...
0
votes
0answers
19 views

D3 V4: Zoom & drag multi-series line chart

I am drawing charts with d3 4.2.2 in my Angular2 project. I created a multi series line chart and added zoom and drag properties. Now the chart is zooming on mouse scroll event but it zoom only X-axis ...
0
votes
0answers
12 views

select all checkboxes with icheck in angular js

I am using icheck plugin in angular js here is my code <input icheck type="checkbox" ng-model="isAllSelected" style="margin-right:15px" ng-change="checkAll()"> <span style="margin-right:...
0
votes
1answer
18 views

Creating a matrix report by ng-repeat

I'm trying to create a matrix table by using ng-repeat. I got the sql query output the way I want it to be seen by using pivot PIVOT and have this on Sql server now +-------------+----+----+---+---+-...
0
votes
0answers
13 views

How to show file in view mode - angularjs

Hi I need help to show the updated file in view mode during page onload and need to prevent that file from edit or save or download mode. Now I am able to get the updated file by clicking on the link ...
0
votes
0answers
19 views

Not able to see all markers at same position

I am new in angular map.I getting issue when I have two markers at same coordinates.I am not able to click or see both markers.please help me. Here is .js:- this.map = { center: { ...
0
votes
0answers
7 views

Unable to Test lines after .then in sinon js unit testing

Am a newborn in sinon.js, mocha, chai. Am trying to write unit-test by using above libraries. Project Front-End is in AngularJS with the combination of ECMASCRIPT6. From the docs of Sinonjs I ...
0
votes
1answer
10 views

ngTable is not working in Module

ngTable is not working after adding 'ngTable' as a parameter in module. Below is my module which was working fine without 'ngTable' var app = angular.module('myApp', ['ui.router', 'ngMessages']); ...
1
vote
1answer
20 views

Why won't my Angular front-end pass correct $http.get parameters to Django back-end?

I have a Web Application made up of front-end client written in Angular/Javascript and a back-end server written in Python/Django. I'm trying to do a simple http GET request from the client to the ...
0
votes
0answers
4 views

AngularJS Drag&Drop any file - also *.docs, PDFs, *.xsl and so on

I need drag & drop in my application in that way that a file (Image, WordFile, ExcelFile, PDFFile) is dragged from anywhere at hard disk to my web application. Therefore I did a research which ...
0
votes
1answer
32 views

How Can I Filter End Date Using Angluarjs?

Hi all I want to filtering the items like (Start and End Date) which is based on Due_date using the daterange functionality in meanjs app...... My Plunk Please look at my plunker to reference. I ...
0
votes
2answers
35 views

Creating dynamic links with Angular.js' ng-repeat

I'm creating an app using fake JSONplaceholder API. I'm displaying a list of posts and I want the ng-repeated post titles to link to the post view. Here's the HTML: <body layout="column" ng-...
0
votes
0answers
9 views

Angularjs image slide is not working in 1.5.8

this is view...and images show in vertical. <div class="carousel-inner" role="listbox" ng-controller="imageCtrl" ng-repeat="slide in images"> <div class="item active"> <img ng-...
1
vote
0answers
20 views

Angularjs send search filter data with $http

We are using ui-grid. We want to search grid with many of its columns. So it is bit of awkward to send all the filter criteria on url as routeparams. Is it OK to make search web api request with $...
0
votes
0answers
3 views

angular-chart and chartjs in bower component does not find each other

I want to work with angular-chart in my project so I have installed chart.js and angular-chart js with bower with following steps add in .bowerrc { "resolvers": [ "bower-npm-resolver"...
0
votes
0answers
13 views

Pagination in Angularjs using Angular-Materialize

I am trying to implement Pagination in Angular-js using Angular-materialize. So please guide me how to do it. I am having table with ng-repeat and below that I need to show Pagination div which look ...
0
votes
0answers
19 views

AngularJS sub-form validation

I have an AngularJS form that has a sub form and the sub form is used to add items to a list. If you click on the Add New Option button and the addOption field is empty, then a required message should ...
0
votes
0answers
15 views

What is wrong with my ng-react code? and how to pass $scope variable

Could you tell me what is wrong with the below js fiddle, I want to use the HOC react-virtualized-select with angularjs using ngreact. This is the class used for creating the select button const ...
0
votes
1answer
30 views

AngularJS http post not working

I have created a service and I using that for my login: EDIT: Added the 'success' and 'error' code. EDIT 2: I am developing an iOS mobile application which includes Javascript/AngularJS. So is there ...
2
votes
0answers
34 views

Using jquery with angular 2 projects

I wanted to use ng2bootstrap with my angular 2 project but ran into the issue of it requiring jQuery library? I am really not sure if it is a good idea to mix jQuery and angular2 since we had jQLite ...
0
votes
4answers
32 views

Race condition in Angular HTTP promises

So, i have a small API interaction code that looks like this: function load_posts() { return $http .get('/posts') .then(on_success); function on_success(response) { return response....