Tagged Questions
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 ...
0
votes
0answers
4 views
the main page doesn't show the content
I am learning angular
I have a problem with the form but when I upload it to plunker
it doesn't show even the pages
so can anyone help
project URL
https://plnkr.co/edit/oJ3ZGHPjudIwsccLYJXr?p=...
-1
votes
0answers
4 views
lightgallery angular for multiple gallery
I am trying to use lightgallery using angular for multiple galleries.
I tried a lot but still only the first gallery working.
Can you please provide proper code for that ?
0
votes
0answers
5 views
Simple AngularJS routing system doesn't work (xampp server)
I'm trying Angular for the first time, and my first issue that I want to implement is single page application feature.
But here the first problem:
I have configured a very simple work, it is divided ...
0
votes
0answers
5 views
how to create guest user to angular rails app without populate database?
I have angular - rails web application. My web app is already in production mode.i'm using devise gem.
I want to create a demo for Guest Users to login as admin or regular users to try it.
How i make ...
-3
votes
0answers
12 views
There is same plugin in opensource js?
I try to find the same plugin for my app - site with graph
. And here - screenshot. Anybody know the same plugin (native js, jquery or react component). I try to implement this module in my project
0
votes
0answers
8 views
Angular Fullstack reporting TypeError: user.$remove is not a function when called inline behind Modal service
I'm at a loss and hoping you can help show me what I'm missing. I have the following admin.controller.js file generated with Angular Fullstack 4.1.1 that I updated with the Modal service per the ...
-1
votes
4answers
12 views
How to update Array object index when i delete a array object item from array in angualrjs?
This is my array object
var item = [
{index:1, name: 'miraje'},
{index:2, name: 'alamin'},
{index:3, name: 'behestee'},
{index:4, name: 'arif'},
{index:5, name: 'riad'}
];
when i ...
0
votes
3answers
17 views
Typeahead with AngularJS
I'm trying to add autocomlete by typeahead to my project, but now it shows in the Dropdown [object Object]. Where am I wrong?
$scope.getUsers = function () {
$scope.searchRequest = "/...
0
votes
0answers
22 views
How to filter cookies when you send ajax request?
If you send ajax request to a server and your size of cookies is too large, you get the message:
Bad Request
Your browser sent a request that this server could not understand.
Size of a ...
0
votes
0answers
14 views
exception in $StateProvider.$get
I'm creating test application using angular 1.6 and ui-router 0.3.1, the app is working but it throw 3 exceptions:
Error: transition superseded
at $StateProvider.$get (http://cdn.rawgit.com/...
1
vote
2answers
18 views
How Update list Dynamically using Angular 1?
I am using a List to be displayed as the shopping list items. I can add and remove the items dynamically. But whenever I refresh the page the list is initialized to its initial values. My question is ...
0
votes
0answers
9 views
Can I develop a multiplateform mobile application for my ASP.net web application using phonegap or cordova?
I developed a web application using ASP.net and Angularjs, CSS and html for front end, I want to create a cross-platform mobile application so is it possible to use cordova or phonegap to do it?
0
votes
0answers
8 views
Image gets corrupted after uploading in angularjs
I am using simple file model directive to upload a pdf file in angular js. For uploading file.. i am using a reference from tutorialspoint website. I am calling a wcf service to save the file on ...
0
votes
1answer
18 views
Angular + Jasmine testing with $timeout
I have a jasmine test that runs angular components:
it("has correct MWF classes", function(done) {
let element = $compile(markup)(localScope);
localScope.$apply();
setTimeout(function() {
...
0
votes
0answers
14 views
post javascript object array that contains input file to .net mvc controller
I have below controller action
public JsonResult CreateQuestion(QuestionSet[] ViewModelObj){
}
My QuestionSet Class/Model from above controller parameter is as stated below.
public class ...
0
votes
2answers
19 views
Multiple nested unordered list items via ng-repeat
i am new to Angular js and Firebase. I am developing an app which have multiple nested Unordered list enter image description here , i need to save the data to firebase. and show it into fronted via ...
0
votes
1answer
19 views
AngularJs controller .appendChild() adding up each time view is visited
I have created a chat feature recently and I notice a curious bug. The following is the code I am using in my controller:
myFirebase.on('child_added', function(snapshot) {
var msg = snapshot....
0
votes
0answers
10 views
Google Maps infowindow and Angular $compile
The goal is to have an info window popup when one of about 70-100 map icons is clicked. We are using MapClustererPlus to group them when zoomed out.
The map icons correspond to items in our list ...
-4
votes
0answers
19 views
Change profile picture using angular js ng-click
I'm still newbie with angular js
I get difficulties to change profile picture
<img src="images/avatar.jpg" ng-click="changeProfilePicture()">
How can I change my profile picture using ng-click,...
0
votes
0answers
6 views
Angularjs ui-router with nested views is loading parent controller for grandchildren
I'm using $state.go("titulos", params) to load the titulos page, in which case the parent controller (emissao) is not loaded again. But when I call the grandchildren $state.go("titulos.fluxos", params)...
0
votes
2answers
26 views
I don't quite understand filtering in a Angular controller?
I've read some Angular docs and have seen some examples but I'm still not clear how I can filter like I need to. Hopefully some can help clear it up for me.
What I have is a API that will retrieve a ...
1
vote
1answer
22 views
The modal doesnt open the data it had before opening, the data that is retrieved is the last data that was taken through the json file
I want to open the specific image and caption, on which i click to open on the modal,
I cannot find where i am going wrong,
This is the modal file or the modal code,
<div class="col-md-3" ng-...
1
vote
2answers
21 views
angularjs - ng-repeat being called before scope variable is defined
I have a md-tabs setup, I have it binded to $scope.selectedIndex so that I can change it by code when I need to.
I use a button, call my function that updates data, I then change $scope.selectedIndex ...
0
votes
0answers
22 views
canvas.toDataURL() returns same dataURL
Hi I'm currently developing ionic app with firebase.
I'm trying to upload multiple files with resizing.
It is weired that when I call resize method input image is different but once I finish my ...
0
votes
0answers
16 views
Uncaught Error: Module name “@angular/core” has not been loaded yet for context: _. Use require([])
Can someone explain this ERROR, what it really means and what should be done in order to solve it? I'm have a module of @angular/core that need to be imported into angularJS app. I am trying to insert ...
0
votes
3answers
19 views
Angular Form validation is not working when two text box inside one form group
Am trying to do angular form validation am not getting error message when i click on submit, i have added two text two receive to take first name and last name what went wrong i couldn't find please ...
0
votes
1answer
26 views
How to get enum value in angular js with a response data
I have a problem, I confused to get enum value in angular js. Oke, I have table list, the column 'Criteria Type' there are two values from mysql : 'C' is Cost and 'B' is Benefit. But my table list ...
-1
votes
0answers
28 views
How to use two different page in angular js
I am new in angular js. I have used routeProvider to update page in admin panel dynamically. But, I have new login page. It is totally different from the admin panel. So how can i differentiate it.
...
1
vote
1answer
21 views
Unable to query using the dynamic id field in function(req, res, next, id) mongoose ( mongodb )
I'm using mean js, I'm trying to query mongodb via a Service call in angularjs,
var Priority = 'Left_VM_P';
url = currentUrl+"/api/queryPrioritySearch/"+Priority;
the query works only when
...
0
votes
0answers
10 views
ng2-select triggers template rendering too often
My Problem is that the template in which the "ng-select" tag is embedded gets evaluated a lot. Even just clicking outside of the select element triggers a rendering of the template.
I created this ...
0
votes
2answers
7 views
ui-view is undefined and my page is blank when i use ui routing
I cannot see my index page till I uncomment my code in controller.What am i doing wrong.here is my sample code.I have tried all possible options, not getting where am i going wrong
`
<html lang="...
0
votes
1answer
25 views
Angular directive controller scope
I'm trying to develop a directive that has it's own controller so it can collect the data it need's from the API and be injected anywhere.
Here's what I got so far:
(function () {
'use strict';
...
0
votes
0answers
11 views
Ionic/AngularJS add checkbox to ng-repeat list items then add button to filter on checked items
I am working on an Ionic mobile app (which uses AngularJS). The Ionic default app has a list template called chats using the ng-repeat directive to display all the items from an array of objects in a ...
0
votes
1answer
17 views
angularjs ng-admin 0.9 shows nothing
i am trying to use ng-admin for the firs time. i am just following the example in and i am unable to see anything in the browser. my code is minimal, so not sure what i am doing wrong.
any ideas? ...
0
votes
1answer
9 views
What is the keyword for local currency in chained angular currency filter? (without custom directive)
I have looked in documentation, but I can't find the answer I'm looking for.
I also know I can make a custom filter to handle this use case, but I wanted to avoid doing that.
My goal is to show a ...
-1
votes
0answers
13 views
How do I create a Tree view out of this JSON data using Javascript
I am refactoring a portion of a website that was using Kendo widgets, previously this had been rendered using Kendo's tree view widget. I am trying to implement a tree style menu but without the ...
1
vote
0answers
13 views
How to get the x and y axis on click Angular JS Charts?
I am trying to get the values for x and y axis for onclick on the chart area. As for now I am doing :
html :
<script data-require="[email protected]" src="http://code.angularjs.org/1.2.2/angular....
0
votes
2answers
7 views
Can i access the ng-app value in a protractor test?
I simplified the code i need to test to this:
<html ng-app="home" ng-strict-di=""><head>....
And i am running some protractor tests, i want to access the value of ng-app so i can compare ...
0
votes
1answer
11 views
Sending both a file and other POST parameters as AJAX from AngularJs
I have an existing POST API, thus:
var data = {
userName: $scope.loginData.userName,
password : forge_sha256($scope.loginData.password),
...
0
votes
0answers
22 views
How to format a string to show appropriate culture and currency
I have a string, which is actually an amount, say 50.50. Depending on the culture and currency it could be formatted in different formats.
For instance: {{ShippingFee}} shows 50.50 fine. Is it ...
0
votes
2answers
23 views
Make a GET to an endpoint and print out data using Angular
I'm trying to make a GET to my endpoint and print data in my page
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://ajax....
0
votes
0answers
11 views
formly validation message with angularjs 1.2
I am trying to add validation message for required input field with angularjs 1.2. All examples I have found so far refer to angular > 1.2 and use ng-messages.
I tried getting formControl and check ...
0
votes
1answer
14 views
How do i toggle between classes within 2 divs in ionic/angular?
example.. i have a match between team-A and team-B. when i click on team-A, i want to add a class call 'selected' to team-A, and then if i click on team-B i want to remove the 'selected' class from ...
0
votes
1answer
14 views
Ruby on rails and UI Router not working properly
Alright... So I've installed UI Router and Rails-templates to handle AngujarJs in my project. So far everthing is fine. Except if a type the url manually into chrome's bar (e.g localhost:3000/sign_in) ...
-3
votes
1answer
31 views
angularjs is not working in my own function
I am using phonegap plus angularjs. My problem is calling function in object function. I show my code. i am not understand how to fix this issue. i want to calling helloworld function in object ...
2
votes
1answer
25 views
AngularJS Directive callback function timing issue
I've stumbled upon an Angular issue that I just don't understand or know how to solve the problem.
I'd like to have a callback function located in a controller that a directive calls once something ...
0
votes
0answers
24 views
Angular 2 Pass id from ngFor to a control
I am dynamically creating dropdowns from a service. I am able to get the labels for the dropdowns from my service. However, I am unable to pass the DropDownID from ngFor to control . once the ...
-1
votes
0answers
7 views
ui-grid has double tall rows
I don't know how this started happening but a ui-grid (project home) on my page (angular SPA) is duplicating 2 rows somehow (and I don't want it to).
Refreshing the page (Chrome) has no effect (I ...
0
votes
0answers
16 views
sending array into servlet gives null
I have an angularapp where I am calling a servlet, where I am sending an array to servlet which is printed as null. Below is the code.
$scope.seriesIdArr = [];
tempArr = [XXX1011#32, PPP1011#29];
$...
0
votes
0answers
11 views
What is the recommended way to manipulate the URL shown in the address-bar of an Angular application without changing state?
Recently I upgraded the Angular version to v1.6.1 from v1.2.15. The application uses ui-router v0.4.2
There is a requirement in the application that requires the URL to be set to the home page (...