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

ASP.Net MVC upload file with record using AngularJS

I am looking around the web on a tutorial where there is an image included which is to be uploaded. Almost all of the tutorials I found is CRUD functionality using ASP.NET MVC and AngularJS and it ...
1
vote
0answers
11 views

How to clear directive ngmodel value from controller?

I am newbie in angularjs. I have create directive called newActivity and bind object, variables and function with this directive. Here i want that when i clicked on submit/cancel button then it should ...
0
votes
0answers
2 views

Angular UI-GRID Excel type filtering

I need Multiple filtering for different column similar like excel. based on first or previous filter, the selection of 2nd filter should be on the items available on the table which is filtered by ...
0
votes
0answers
10 views

file upload Angular js1 + Jasmine test case

Hi Need help to write jasmine test case for the below code I am new to jasmine and when write jasmine code for the same I am not able to enter to the onclick block. function onFileUploaded() { ...
0
votes
0answers
11 views

Facebook like button rendered incorrectly inside of AngularJS ng-repeat [duplicate]

I've created a Web page to show the feed of a Facebook page- I decided to use AngularJS and the following service: ngFacebook to accompany it. This worked perfectly and I've managed to display each ...
0
votes
1answer
16 views

cookies set in one controller are not accessed in other controller

i have set the cookies in one controller and want to check whether it is set in the other controller. my controller where i set the cookie data is app.controller('CtrlVehicle', function ($scope, $...
0
votes
1answer
16 views

Angular JS delay

Am new to Angular-JS. I have the following Angular-JS code. And I want to add some delay before redirection code. Any help would be appreciated. if(data.status=='success') { $scope.succ = "...
0
votes
0answers
16 views

Angular UI-Grid - Selected items not being reset after the grid's data is refreshed

I have a grid (ui-grid) where I need to update its data some times. But when I refresh the data I keep getting the selected row from the old "view". My code: $scope.gridApiDfcAss.selection....
0
votes
1answer
13 views

Share modal to the social network

I have a scenario where on click of the button I am triggering a modal with some information and social networking buttons in the modal footer. When click on the social networking button i want the ...
0
votes
0answers
7 views

Save cordova camera image file url into SQL

I have this app where I take an image , save it locally to the filesystem then display it 'temporarily' , I'm trying to save the file url for the image on SQL ( sqlcipher ) then assign id for each ...
0
votes
4answers
29 views

Adding parameters to ng-click in Angular JS

My code is something like this In View HTML : <div ng-app="myApp" ng-controller="myCtrl"> <button ng-click="get_user_detail(Andrew)"> </button> <button ng-click="...
-3
votes
0answers
18 views

Ajax request have missing title tags issue

I have an AJAX request for getting the price or register user rating. I have missing title tags in Google webmaster tools when Google crawls these tags. <a href='#' id='rate' /> <button type=...
0
votes
1answer
12 views

File download not working in Safari?

I have developed an angular JS web application with PDF file download functionality. It doesn't work in Safari. $http({ method: 'GET', url: common.serviceUrl(config.apiServices....
-1
votes
0answers
22 views

AngularJs ng-view inside ng-view

I have 2 menu , one inside other , and I am using AngularJs for that , can I use that : ng-view inside other ng-view . By the way : I don't want to use ng-iclude . <div id='First'> <ng-view&...
0
votes
1answer
28 views

angular-route1.6.1 does not work correctly

thank u for looking! Here's my question. [app.html] ... <custom /> ... <script> ... app.config(["$routeProvider", function ($routeProvider) { $routeProvider.when("/checkout", { ...
0
votes
1answer
8 views

karma unit testing @ angular 2.2.1 — finding out which abstract class a component implements

I'm quit new to Angular and Karma. Nevertheless I'm ordered to write meaningful unit tests. As we are asked to implement the classes OnInit and OnDestroy in each component we create, I wonder whether ...
0
votes
0answers
13 views

Ionic: how to hide ion slide pager on first slide

how can i hide ion slide pager only on the first slide? My code is something like: <ion-slide-page ng-repeat="item in lista_tutorial[0].lista_slide"> <div ng-if="item.tipo == 'benvenuto'" ...
-2
votes
0answers
21 views

developing ERP using angularjs

We already have a running ERP product which is developed using Jquery and DOJO and thought of upgrading to use only AngularJS. I already designed login form and trying to develop dashboard ...
0
votes
1answer
26 views

ng-model not working inside ng-controller

I have created an angular directive of input mainApp.directive('myInput', function () { return { restrict: 'E', template: '<label class="form-group"> <span>{{name}}&...
0
votes
1answer
12 views

Change the value of $translateProvider.preferredLanguage('en') from controller

I was trying to change the value of preferred language on click of a button. But I can't access the translateProvider from the the controller. How to change the value of $translateProvider....
0
votes
0answers
6 views

How to access Wcf-Rest service in mvc using angularJs

Here i'm using Wcf Rest This service i want to use in MVC angularJs i wrote all the code in mvc when i try for ping wcf-Rest service browser send error as XMLHttpRequest cannot load http://...
-1
votes
2answers
11 views

What is state provider and root provider which library file will include it

Hi friends i am beginner for angularjs what is state provider and root provider why we inject ['ngRoute'] in rooteProvider and ['ui.router'] in stateprovider i'm really confused this so please explain ...
1
vote
0answers
10 views

Auto - Import for .ts Components in Sublime Text 3

I'm working on an AngularJS beginner Tutorial and the mentor is working with another IDE. I prefer to use SublimeText3 because I am familiar with it. When I am declaring a new component in my app....
0
votes
0answers
10 views

Laravel Auth0 Unauthorized user

My application is a single page app using Angular 1.x on the client side and Laravel 5.3 for my server/api. I easily managed to make the Auth0 authentication working on my client side (angular) and it ...
0
votes
0answers
11 views

How to get this safelink.js worked on my WordPress Website

I would like to implemented this safe link generator on my WordPress website. I have found this on Github https://github.com/willyarisky/safelink & it's live on apkcube.com. I would like to run ...
0
votes
1answer
30 views

Why angularjs html template request does not show in browser in top sites?

I have referred following link https://wappalyzer.com/applications/angularjs to know which sites may use which programming tool to developing an application. I debug HTTP requests log in firebug and ...
0
votes
2answers
10 views

Calculation logic within editable table row

I have a table like this: <tr class="data-row" ng-repeat="item in model.Invoice.InvoiceItemData"> <td> <input type="text" name="itemServiceTitle" ng-model="item....
0
votes
2answers
23 views

setting id, name from DB to dropdown in angular js

I have select query as below.. var result = SqlMapper.Query<Object>(db, "SELECT PlaceID, PlaceName from Places order by PlaceName"); return result.AsEnumerable(); how do I set this result to ...
0
votes
0answers
13 views

How To Lazy Load JS file In AngularJS (Single Page Application)?

How To Lazy Load JS file In AngularJS (Single Page Application) ? Example: var dashBoardModule = angular.module( 'dashBoardApp',[ 'ui.router', 'ui.calendar', 'ngTagsInput','ui.sortable', 'chart....
0
votes
0answers
10 views

ng-tags not working with predefined values?

tags-input(name='sport_position', ng-model='sport.sport_position',placeholder="Sport Position", display-property="name",autocomplete="on") <link rel="stylesheet" href="https://mbenford.github....
0
votes
3answers
25 views

Make selected dropdown in angularjs

My data is coming from database and want to make dropdown selected in angular. Payment status coming from database and field name is payment_status For Ex- if payment status is PENDING then selected ...
-1
votes
1answer
19 views

415 Unsupported Media Type with Spring after all jackson jar added

This is my anular js to pass json to spring controller $scope.submit = function() { $scope.json = JSON.parse(localStorage .getItem("itemDes")); var jsonlen = Object.keys($scope.json).length;...
0
votes
0answers
15 views

D3 V4 multi series line chart zoom event handling

I am implementing a multi series line chart with d3 v4 in my Angular 2 application. I was able to create the chart and now I am trying to add zoomable feature to that chart. On zoom event (mouse ...
0
votes
1answer
13 views

Unable change the Date format in ng-model of angular JS?

In my web app am using ng-repeat to show the data of some customer. In that list each customer has DOB field. If they want to change the DOB then they can change using date picker. I giving the date ...
-1
votes
2answers
37 views

how to implement comparison of two products on ng-click in angular?

I need to call same api with different product id so i can compare two product details , how i can send two different id to same api . Here is my click function with <div class="hmpal-prprt-post-...
0
votes
2answers
19 views

Dynamically change the value of a textbox on clicking of its corresponding checkbox in ng-repeat in Angularjs

This question might sound very basic to many of you, but please pardon me as I am newbie to angularjs. Basically what I am trying to do is changing the value of a corresponding textbox on click to ...
0
votes
1answer
30 views

Sorting In AngularJS

self.records: [ { "Reg_code": 10001025, "Name": "Chandan Kumar Penta", "staticColumn": { "Check": "Check1", "HHHHH": "" } }, { "Reg_code": 10001290, "Name": "...
0
votes
0answers
11 views

Stacked Highcharts- How to plot a given point and remove color from the stack block

I need to plot users office timings (in and out time) of a day in a graph using Angular JS. For example I have reached office at 10 and then gone out for lunch at 1, then again came at 2 and then ...
0
votes
1answer
19 views

change value of $scope in another controller in ionic

i want to change $scope's values from another controller is code is follows: this view is from app controller <ion-item ng-show="before" menu-close ui-sref="app.login" href=""> ...
0
votes
1answer
18 views

use of Angular Spinner with $resource

I have a problem with angular spinner here, i have a update button in that i'm using spin and loading needs to be stopped after saving the data in to database without using any timeout function i ...
0
votes
2answers
12 views

Access Control Allow Origin issue with WCF service

I am new to WCF Restful Service and consuming the WCF project services in UI and getting the following error* Error 1:- No 'Access-Control-Allow-Origin' header is present on the requested resource....
0
votes
0answers
26 views

Using limitTo in directive with ng-repeat removes all my items from the DOM

I'm building an angularJS app. I've many data to retrieve from an array of json objects, and I've to limit the number of those data, and I want to use limitTo to perform that. I use ng-repeat inside ...
0
votes
0answers
16 views

Angularjs NVD3 Line chart not working

I am new to angular Js. I am trying to create a line chart based on the response from http get. My http Response : [{"itemValue":1,"customerListSize":5},{"itemValue":2,"customerListSize":11},{"...
0
votes
1answer
19 views

How to insert records with angularjs php and mysql?

I am using angularjs form with mysql database to store and retrieve data with mysql but im unable to perfrom crud operations with angularjs. im new to angularjs please help me with the same. below is ...
0
votes
1answer
18 views

Why my socket.io can not work in ionic? Please help me

why my socket.io can not working in ionic? I have simple project and I just edit in index.html and add index.js in js folder to try socket working. This is my index.html : <!DOCTYPE html> <...
1
vote
0answers
17 views

POST 422 (Unprocessable Entity) Laravel - Ajax

I am using Laravel 5.3 and i would also like to say that i am not that much experienced working on Laravel. I am just trying to build a Login Form with Laravel Angular JS 1.5 Angular Material ...
0
votes
0answers
20 views

How to create module which can surpass authentication in angular js?

I have complete angular js working application.But i have a challenge ahead in that single page has to be made which will open on click of link. Now the challenge for me is that if user is not ...
0
votes
0answers
10 views

how to query mongoose with multiple query params via an object or an array?

I want to send js object to the backend or an array so that in the backend code ( below ) I can use the values and make a search in the mongodb ( using mongoose ) to get the data. server code ...
0
votes
0answers
13 views

Adding existing Angular app to new Visual Studio solution?

So I have a angular web app that works just fine, but I need to change it up and add a web api project and another web app and want to do so in one solution for ease of some of the built in tools ...
0
votes
1answer
25 views

Does Bootstrap create gutters inside custom directive elements?

Using Bootstrap and Angular. I have a div inside a custom directive. Even when I set the child div width: 100%; it seems there are gutters on either side of the child div. I tried to adjust margin and ...