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
1answer
13 views

ng-pattern that allows decimal ratios

I'm having an ng-pattern that validates for a ration like 4:6 as shown below: ng-pattern="/^(\d+):(\d+)$/" I want also to validate if decimal numbers are entered as rations along with the above ...
0
votes
0answers
15 views

Update image AngularJS

I have a small problem in inserting the image. All content is updated in the first click until the image appears updated on the profile page but when we check in the DB the image is not updated ...
0
votes
1answer
8 views

Angular ui bootstrap unable to render modal

I'm trying to create a custom modal using $ui.bootstrap with the following modal code: var modalInstance = $uibModal.open({ animation: true, templateUrl: '../partials/modal/...
0
votes
0answers
5 views

How to implement adobe site catalyst in Angularjs Website

I have implemented Adobe Site Catalyst using normal js calls. But now i would wish to implement it using Angular js for an angular website. kindly suggest is there any best way to implement.
0
votes
1answer
12 views

How to pass angular expression as parameter to normal JS functions?

I have an omniture tracking function name as s.tl(parameter 1, parameter 2, parameter 3) which is written in Normal JS code. I want to call that normal JS function on buy now button click and pass ...
0
votes
4answers
18 views

How to fetch array value having String Key using Angular

I have an array and want to fetch some values from array which has Strings as key.Please suggest how can i retrieve those values from array have string as key. Code for Controller is: var ultColumn=...
-1
votes
0answers
10 views

how to post model popup textbox data to ng-controller and update DB

I Need to fetch textbox data from popup and post it to controller/service. <div class="modal-body" style="padding:20px"> <form role="form" > <div class="message-block">...
0
votes
0answers
15 views

Sequential HTTP request in IONIC2/Angular

I am building a mobile app for my ecom store. Most of the app is done but now when we are integrating we are facing some issues, its mostly related to multiple http requests. (correct me if i am ...
0
votes
0answers
16 views

nested translate in angular

Fairly new to Angular, I'm trying to translate a message with a context, something like: message= { message.raw_msg = 'HELLO_WORLD', message.msg_context = { buddy_name = '{{ greeting }}' } ...
0
votes
0answers
9 views

Highcharts - export multiple charts and tables into PDF

I have multiple charts and table in my page and i want it as a pdf. so how can I do it?
0
votes
0answers
10 views

AngularJS ui-router state not detected after server side redirect

When there is a serverside redirect (301 permanent) ui-router does not detect the initial state. Html5mode is enabled. ASP.NET MVC 5 is used for the backend and the first page load is serverside ...
0
votes
0answers
11 views

angularjs change rootscope after deferred promise in a controller

I'm trying to change some $rootscope variables from within a controller after a I have received a deferred promise from a service. The $rootscope variables are used to set the html page title ...
0
votes
5answers
36 views

How to loop json object in angularjs

i'm using the tree component in my angular projet, i'm trying to loop a json object to populate the tree heres my code: var myData=[{"agence":"CTM","secteur":"Safi","serie":"CZC1448YZN"},{"agence":"...
-2
votes
1answer
9 views

PayPal integration with ionic hybrid mobile app

I am new in ionic,I try a PayPal integration in my app but i have no any success in it. If any one knows can please describe a steps wise integration of PayPal in ionic mobile app.
-2
votes
2answers
35 views

i want the div tag repeat using ng-repat

<script> var app = angular.module("myapp", []); app.controller('test',function($scope){ $scope.my="hi"; $scope.myimag=["Feature-Category1.png","Feature-Category2.png","Feature-...
0
votes
0answers
18 views

Communication between sibling controllers

In one of my interview question, this question has been asked to me. I had given all angular possible answer, but still my interviewer did not satisfy with my answer. My Solution was Using factory ...
0
votes
0answers
5 views

Angular - Display Two tree views and link each node with line and have controls to move left to right and vice versa

I need help to create the UI using angular js and have controls on the line to move folder/files from left to right vice versa. I did some research and found AngularTreeControl JS but it doesn't have ...
0
votes
3answers
18 views

Angular 2 iso date format

How can I format the ISO date into correct format? The date format return from the server side is like: 2016-12-28T11:44:00Z. Here is my html: <tr *ngFor="#ticket of tickets"> <td>{{...
0
votes
0answers
9 views

Does it make sense to create promise from StompClient SEND request?

I want to make additional request to server after SEND message through StompClient was successfully maintained. function sendActivity() { connected.promise.then(function () { ...
0
votes
1answer
12 views

Retrieving data with REST API using AngularJS disables Owl Carousel JavaScript Plugin

I just finished building a REST API with FosRestBundle (Symfony3). Now I want to retrieve some datas with AngularJS from that API. I firstly workedwith mock data. In fact, I retrieved data from my ...
0
votes
2answers
19 views

Reset Angular 1.5 view model

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)...
0
votes
0answers
16 views

Angularjs and codeigniter routing not working

Below is my CODEIGNITER 'testing_route' view page code <div ng-app="tutorialWebApp"> <a href="#/home">Home</a><br /> <a href="#/about">About</a><br /> &...
0
votes
0answers
23 views

AngularJS+MVC - Error 404 refreshing page

I'm developing a web application using AngularJS (v1.4.9)+ASP.NET MVC. I've enabled the html5mode for pretty links, but I've this problem: when I browse to my first page of the application (Login) ...
-2
votes
3answers
19 views

Which one is correct way for initializing module,controller in angularJS?

Which one is correct way for initializing module,controller in angularJS var myapp=angular.module('myApp', []); myapp.controller('Ctrl1', Ctrl1); myapp.controller('Ctrl2', Ctrl2); Ctrl1.$inject = ['...
0
votes
1answer
21 views

Unable to display data from request using AngularJS

I am trying to display data fetched from an SQL table named student. I have JSON object containing data retrieved from table using PHP file. But i can't display data in my HTML file using AngularJS. ...
0
votes
3answers
24 views

CORS header ‘Access-Control-Allow-Origin’ missing' . where i need to write code in webapi (service) or in client side

i have one web api , which has basic authentication. that api code i cant change .can we add cors concept to retrieve data in client side applciation either in web.config or enabling CORS in client ...
-1
votes
4answers
31 views

AngularJS - TypeError: Cannot read property 'push' of undefined when ng-repeat a div

I am creating an ionic mobile Apps project. I want to display a particular div multiple times in a html page. After that, I would like to display images etc. for each of the div. Here are my codes ...
1
vote
2answers
39 views

How to use $index in isolated scope?

I have made a custom directive to have set a duration(days hours minutes) in input box. It is more like Expected time Taken. Now it is work as it should. To set the time you need to pass JSON with ...
0
votes
0answers
9 views

Umbraco 7.5.6 Angular 2 integration

I have troubles with integration of both platforms: Angular 2 and Umbraco 7. The problem is in brief I couldn't boot the main javascript file which is responsible for Angular 2 starting. If someone of ...
0
votes
0answers
21 views

Tooltip overriding the text in chart js

I have created a graph like below using chart.js The above graph the texts like (Bare, Mounted) I creates this in oncomplete function like onComplete: function () { // render the value of the ...
0
votes
1answer
30 views

How to click the same button more than 50 times in protractor?

How to click the same button more than 50 times by using loop statement in protractor? Will protractor support this action? Here's my locator : var nudge= element(by.xpath("//a[@class='isd-flat-...
0
votes
3answers
39 views

ng-repeat create table columns with array failed

Why this won't work? Controller: $scope.dates = ['1-1-2017', '2-1-2017']; Template: <tr> <td ng-repeat="date in dates"> {{ date }} </td> </tr> but it work with <...
0
votes
0answers
16 views

Ionic crashed after splash screen on iOS version 8

I am testing my application on an iPhone 5 (iOS version 8), when I type ionic run ios -d it runs, the splash screen is showed then the application shows me a white screen. I assume the app ...
0
votes
0answers
11 views

angularJS convert d3js custom donut directive to component

So I am trying to convert a directive to component. The directive basically renders a donut chart with legends when given an input dataset. Also when you hover on arc on donut I show popped up ...
0
votes
0answers
14 views

Angular-meteor: publish/subscribe works after user loggin

I am in a big trouble. I want to create a tags search box, just letting the user to write the words separated by spaces the I will convert them into array and use mongo selectors to get the results. I'...
2
votes
2answers
35 views

Ionic: How to stop reloading page content once its completely loaded

I am new to ionic1 framework and working on sidemenu ionic app. For redirection i am using $state.go('app.home', {},{location: "replace", reload: true});. when i switch to other tab and return ...
0
votes
0answers
15 views

How do I redirect to different pages with Auth0 and Lock in Angular 1?

I'm using Auth0 and Lock 10 and I'm having a lot of trouble figuring out how to customise lock correctly. In angular's config phase, lockProvider.init provides the "redirectUrl" parameter, as per the ...
1
vote
2answers
33 views

I am not getting data on to my restful web service using angularjs

This is my angular js code in which i want to send data in Json format to my restful web service written in java. It makes call to the webservice but i don't get any data. <script> ...
0
votes
0answers
15 views

High chart with angular directive in dynamic ionic slide box

I want to create dynamic slide box with high chart with directive . I created directive to show high chart and it is working fine . codepen.io/anujsphinx/pen/JbVpvp Now my json response( vm.items) ...
0
votes
0answers
25 views

Multiple file upload drag and drop in angular js

Hello guys I have implemented file upload in angularjs for single file upload plus no drag and drop facility, But now I have the requirement of uploading multiple files at the same time, that is I ...
1
vote
0answers
17 views

How to measure requests (XHR) duration in AngularJS?

I'm trying to implement an interceptor for AngularJS (1.5.x), which can measure each api calls and send the duration of each of them to the Google Analytics. I've started with a dummy implementation ...
1
vote
1answer
20 views

Getting a issue while using filter and infinite scroll together in ionic list?

I have created a ionic hybrid app in that i am getting issue in angularjs filter.let us explained clearly in below <input type="search" placeholder="Search personalities" ng-model="name"...
1
vote
0answers
19 views

st_url is not working properly

I am using sharethis in my application. here is my code <a style="transition: none;" ng-init="initShare()" class="st_sharethis_custom" ng-if="loggedIn"><i class="fa fa-share-alt" style="/*...
-3
votes
4answers
27 views

Curly braces not showing value in angular

Following Code is not showing or updating the value of nam in <p> tag. Kindly help ! <html ng-app> <head></head> <body> <input ng-model = "nam.a" ng-controller = "...
0
votes
0answers
12 views

Angular upload file error

I have some problem with POST request in Angular. This code actually works in another angular app, i use them before with same server. When i try to upload image to the server he return me "You must ...
0
votes
0answers
7 views

How to debug angular 2 typescript code in Asp.Net Core project (Visual Studio 2015)

I am trying to learn angular 2 with typescript and now I have a problem. My code not working properly so I want to debug it. I added sourceMap to my tsconfig.json: { "compilerOptions": { ... ...
1
vote
2answers
20 views

ion-infinite-scroll keeps calling on scrolling

I am using 'ion-infinite-scroll' in html to load more items from server for this i am using below code <ion-infinite-scroll immediate-check="false" on-infinite="getListOfAreas()" distance="1%"> ...
-3
votes
3answers
34 views

angular convert Date \/Date(xxxxxxxxxxxxx)\/

Angular date format does not work | date:'dd/MM/yyyy hh:mm'}} {"checkIn":"\/Date(1482858000000)\/","checkOut":"\/Date(1482944400000)\/","code":223481,......
0
votes
4answers
28 views

building 2 way table with angularjs ng-repeat

I want to generate table that look like this https://output.jsbin.com/nowacafacu But I'm stuck at here http://jsfiddle.net/ez2e12e4/ <div class="table-row" ng-repeat="student in students"> ...
0
votes
0answers
16 views

How to set up Howler.js into angular js app

My app.js: angular.module('alarm',['ui.router', 'alarm.controllers']) .config(function( $stateProvider, $urlRouterProvider){ $stateProvider .state('...