Tagged Questions
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 apps are also frequently known as Single-Page Applications.
0
votes
0answers
3 views
Add Marker in Angular-Google-Maps
I'm currently having some trouble adding a marker on click to Google Maps. I'm using http://angular-ui.github.io .
Here is my code:
HTML:
<ui-gmap-google-map center='map.center' zoom='map.zoom' ...
0
votes
0answers
5 views
How to display all the nested json data using ng-repeat?
This is my JSON data:
"multipleLayerDropdown" : [
{"title":"Google","url":"#"},
{"title":"Another action","url":"#"},
...
0
votes
1answer
11 views
angularjs filter an array with string values as integers in contoller
I'm using AngularJS filter to filter an array of objects inside a controller. These objects all have a quality that is a string. I want to be able to filter the array from largest to smallest. But I ...
0
votes
0answers
11 views
How to authenticate different type of applications using OAuth and one WebAPI
I have a WPF client application and AngularJs client connecting to the same Web API to get\send data.
I want to apply OAuth with Azure as identity provider.
What I want is to use this single Web API ...
0
votes
0answers
10 views
AngularJS: Discard duplicates element from an Json data which is from nodejs server sides rendered data
I am using "itunes-search" module in nodejs and it is send the sends the search results as Json data. The Json data has a filed named "artistName" which has duplicates element I can see. but I want to ...
0
votes
0answers
3 views
Error with Parse.com using Javascript API: “Parse::UserCannotBeAlteredWithoutSessionError”
I get an "Parse::UserCannotBeAlteredWithoutSessionError" error using Parse in AngularJS when I use a copied user to modify data. The operations are done well, but the browser console shows the error. ...
0
votes
0answers
10 views
value is not updated after route change but updated after page refress
I have this small function that updates the values of two dropdowns. If I navigate to the route that has the drop-downs the values are not changing although the function is called. If I refresh the ...
0
votes
0answers
7 views
`anchorScroll` - how to toggle `url:#hash` on slide up?
In my html, i have a div, when the button show is clicked i am showing the div when user clicks back i am hiding.
I decided to focus on the div on show. for that i used anchorScroll. it works fine. ...
0
votes
0answers
8 views
How to use geolocation in Angular JS Google Maps?
I use Angular Google Maps in project. I have not found information in tutoria; how to use geolocation and detect current user position. How I can do it?
0
votes
0answers
8 views
Ambiguity in installing Angularjs datepicker
I read the Documentation of this Angularjs datepicker on Github http://dalelotts.github.io/angular-bootstrap-datetimepicker/
and I find difficulty understanding :
dependecies
dding the model since ...
0
votes
1answer
18 views
Best Project structure for N-ties architectured application
I am assigned to design the architecture (simply project structure) of a big project and my idea is to create N-tier architecture as below:
UI --> AngularJS, Dot-Net-Nuke Portal, Mobile App
WebAPI ...
0
votes
0answers
6 views
ionic framework deploy feature bluetooth plugin
Is it possible to make the bluetooth plugin work after putting in production with Ionic Deploy? I tried to make some experiments putting it in production but it seems not working, I don't if I'm ...
0
votes
1answer
20 views
keep data in controller while routing in angular
I have following problem:
In AngularJS app I use $routeProvider to load different parts into application
config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/view1', ...
0
votes
0answers
12 views
Angular: ng-if animation not working on directive
I'm using Angular 1.3 and animate.css.
I'm trying to apply a simple fadeIn/out animation on a directive i have using this code:
.vl-fade-in-out{
&.ng-enter{
animation: fadeIn 1s;
...
0
votes
0answers
15 views
reuseable directives for user selection
So in almost every project you will have some list of users that you will use multiple times to either assign stuff to or to delete stuff from.
Now when you have a bigger application it will be ...
1
vote
0answers
26 views
How to create dynamic variables in the view
I'm banging my head toward the wall for this :
I want to set the value of dynamically generated view variables from controller
In my view template:
<div ng-repeat(key,value) in educations >
...
1
vote
0answers
18 views
Angularjs select option using angular material
I'm trying to implement the AngularJS material implementation in my code and I'm stuck with a select option. Using AngularJS "base" my select option was this:
<select ng-model="search.filter" ...
1
vote
0answers
15 views
Angular JS filter in slider
I have to create slider (actually I'm using flexslider), with data in ng-repeat but also with filter buttons. I created that code:
Filter
<div class="terms">
<button ...
0
votes
0answers
19 views
Show data content object as grid view
How to show list of data objects as a grid. A data object include information about a person. It's not difficult to show it in a table but now how to show in grid as thumbnail
1
vote
0answers
7 views
next state controller is loaded before redirect to login
I am have used angular fullstack yeoman generator to generate my site's starting point.
I am facing a problem with redirecting the user to a login page when he accesses a restricted page - what seems ...
1
vote
1answer
12 views
Creating Stateful Modals in AngularJS with angular UI route and UI modal
I am trying to make a statefull modal using angular ui route and and angular ui modal.
lets say i want to fill a sign up form which consist of 4 pages. All of these pages are in a modal.
I am able ...
2
votes
3answers
21 views
Get model value from Bootstrap tab under if condition
I am facing problem in making two way binding to a form model inside the tabs which is under ng-if condition.
Plunker link to my problem is
http://plnkr.co/edit/F5h8eCu7IlXlwi1XhdV7?p=preview
I ...
2
votes
2answers
23 views
how to get html table in reverse order w.r.t. to keys in angular js
I create a html table with angular js. But getting problem to make its order reverse.
<tr ng-repeat="(key, val) in qr_score_list ">
<td>{{key}}</td>
...
0
votes
0answers
15 views
How to Dynamically add Favicon using Window.open Method
How to add a dynamic favicon when page is loaded using window.open method.
Basically i have brandid and based on the brandid, I want to add favicon on the newly opened page which we are opening using ...
1
vote
1answer
12 views
AngularJS setting headers on GET Request
I'm implementing a login authentication and the backend developer wants me to pass along the key value pairs in the header when i make a GET request. I'm new to AngularJS and I think my problem is the ...
2
votes
1answer
20 views
Angular expression in text input “value”
I have a form that user will have to fill in. Some fields are dates and i don't want user to have to type in today's date.
My Form
<div class="row" ng-controller="JobOrderController as ...
1
vote
1answer
19 views
Multiple instance of jQuery plugin in Angular tabs using ng-repeat
I've made a custom jQuery plugin myself that creates a calendar.
In my Angular app I have multiple tabs, and each one should contain a calendar instance.
view.html
<tabset>
<tab ...
1
vote
1answer
6 views
Translations for AngularJS module angularMoment
I use angularMoment module in my app to display post creation time like few seconds ago, 2 hours ago and so on. The problem is that my app supports multiple languages. How do I make translations for ...
0
votes
1answer
24 views
Window.append in AngularJS
I need to integrate this JavaScript into my Angular controller.
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "123456",
'amount': "10095",
...
0
votes
1answer
18 views
Two Phonegap apps with same code base?
I'm developing Phonegap application (using AngularJs+Bootstrap) which supports iOS and Android. We had to maintain two code bases so far but its the same functionalities, only few differences like ...
0
votes
0answers
10 views
Back button is not displaying in Ionic
I have updated the Ionic framework version 1.5.0 to 1.5.4. In this version, app back button is not displaying. How to fix this?
0
votes
0answers
8 views
ARC won't load while trying to load
I'm trying to load arc from the Strongloop API.
But it fails to load.
I've created my DB and retrieved datas from it but The arc HTML page gives me the following error:
Error: [$injector:modulerr] ...
0
votes
2answers
39 views
Angularjs not updating data inside $http.get
Here is my code:
$scope.t = ["lapi", "laptop"];
$scope.$watch('search', function(newval, oldval){
$scope.alldata = [];
$http.get('http://localhost/serve/?p=12345').
then(function(data){
...
0
votes
4answers
40 views
Angular - Directive not working
I am new to Angular. Not sure why directive is not working below. Searched some articles. Nothing helps
angular.module('oneApp', []).controller('OneAppController', function($scope){
//Some Logic
...
0
votes
1answer
25 views
Avoid changing value in client using developer tool
We are using HTML5, Foundation by ZURB and AngularJS for our application.
We want to deny the user access to the values of the Angular objects (I mean scope variables) using developer tool console.
...
0
votes
2answers
34 views
agularjs custom order and limit
I've list of items and need to sort them into lists by priority.
items = [
{'type': 2, 'priority': 1, 'name': 'one'},
{'type': 1, 'priority': 2, 'name': 'two'},
{'type': 1, 'priority': 3, ...
0
votes
1answer
28 views
Checkbox are getting unchecked if they are of same ng-model AngularJS
i have a scenario.
suppose i do have two pages view 1 and view 2.
and i have three values A,B,C by which i can compare the checkbox on both views.
now on view 1 there is a checkbox with value A,B,C.
...
2
votes
0answers
13 views
How to print a web page in ion-view
I am using Ionic Framework for my web application. Each page is displayed using ion-view. I want to print graph (or save it as pdf).
Here is my code,
<ion-view title="Report">
...
1
vote
0answers
10 views
How can I disable the clear data button of android application info through ionic framework?
I am working on app through Ionic framework. I'm saving the data into mobile through SQLite but user can clear data through clear data button in application info. I have to protect my application ...
0
votes
1answer
21 views
how to show progress of long running tasks from server on client side using angular js?
I have a web api in the backend which would approve multiple invoices at a time. I set a flag saying approveAll=true, The API is async, it loops through the invoices and updates their status as ...
0
votes
2answers
20 views
ng-tags-input with dynamic model
how can i use ng-tags-input inside a ng-repeat loop, when each element has different tags? How can i set the ng-model dynamically?
<div ng-controller="myController">
<ul>
...
1
vote
1answer
17 views
AngularJS execute some action in all application instances
I have AngularJS app called myApp. It has several controllers which are used in different pages (website is based on Symfony so page reloads happens sometimes). I need to execute some lines of code in ...
1
vote
2answers
19 views
Is it possible to style angular-xeditable?
I have two angular-xeditable styling questions:
How do I change the look of the editable text so it isn't blue and isn't underlined?
Is it possible to make the editable-text to extend a Bootstrap ...
1
vote
1answer
21 views
angularJs Getting an extra space when converting comma separated value
I trying to convert a json content into the comma separated value in a table format.
I achieved this by using table with ng-repeat, but I am getting an extra space in end of the each value.
html ...
0
votes
1answer
21 views
Angular js GUI not updating
I have a HTML table where I change the background colour of each cell using ng-class directive.
For some reason the colours of the cell do not update, unless I do something like resize the browser.
...
0
votes
0answers
33 views
Angular js keep toggle expanded with refreshing data
I've a webapplication that has the following code written with Angular:
<a ng-click="showForm = !showForm">showForm</a>
<div ng-show="showForm " id="infoDiv">
Information ...
0
votes
1answer
17 views
Facebook cdn Profile Picture Url Forbidden 403
I have been using the FB Javascript SDK for Oauth login in one of my angular apps. The GET request for the pictures url saved in my database throws a forbidden error after some time. and the image ...
3
votes
2answers
38 views
how to make html table from an array with angular js
I have an array like-:
aw_score_list = {
'6':99,'5.5':98,'5':93,'4.5':80,'4':56,'3.5':38,'3':15,'2.5':7,'2':2,'1.5':1,'1':1,
};
I want to convert this to html table so it will become like
...
0
votes
1answer
25 views
RangeError: Maximum call stack size exceeded (AngularJS)
I am trying to develop a web application using AngularJS. I am not able to route the web pages using ngRoute. I have written web server in Bottle python framework, which throws no error on this part. ...
0
votes
1answer
39 views
Angularjs: select all checkbox to delete multiple users
I want to implement select all checkbox (for multiple delete).
I have tried the code given in Plunker. Its giving the following error:
`Unknown provider: $elementProvider <- $element <- ...