Tagged Questions
0
votes
2answers
17 views
Giving immediate feedback upon touching a touch screen
We are using AngularJS, Bootstrap, and Phonegap to build an application targeting predominately the iPad. So far we have been using the Bootstrap list-group-item class. We are finding that upon ...
0
votes
0answers
28 views
Angular partials can't use HTML5 File Reader
I see that my Angular partials cannot detect or use the HTML FileReader API. Can someone explain this and does it apply to other HTML5 features?
0
votes
1answer
19 views
How to redirect user to login page when refreshing the page in Angular JS?
In my application i want to redirect the user to the login page when he refresh the page he/she viewing
how to do this in angualr js
1
vote
1answer
47 views
Recursive promises in Angular JS
I want to traverse through a html5 file system and have some sort of notification once all files have been traversed.
Im using filer which is a wrapper for the html file system library
in order to ...
0
votes
1answer
26 views
Valid HTML5 and img src-attribute on AngularJs ng-src
Anyone has idea, how to produce valid HTML5 when images are displayed with AngularJs ng-scr directive?
What I have discovered?
"src"- attribute is required on img-tags
It can't be empty
Console ...
0
votes
1answer
13 views
Using html5mode for navigating with AngularJS at non-root URL
I am trying to use AngularJS's HTML 5 location mode with an app that lives at a non-root URL. Unfortunately, every time I click a link, the browser does a full page navigation.
Here's my setup:
...
0
votes
0answers
31 views
Nginx config works with angularjs route in HTML5 mode
I am struggling with the nginx config file with angularjs route.
In my case, I have these HTMLs:
index.html
description.html
dashboard.html
The dashboard.html is the one with angularjs code.
Here ...
0
votes
0answers
30 views
Routing conflict between HTML5 and angularJS
I'm new to angularjs and fell in love as soon as i knew about the concept.
So I had this app where using html and css i created the look of a single page app where I had linking between different ...
0
votes
7answers
81 views
JavaScript for valid positive and negative numbers with one or no dots
I am using a AngularJS directive to only allow a user to enter numbers, decimals, and minus signs however I'd like to update it to allow only one dot and one negative sign at the beginning. The ...
0
votes
0answers
12 views
Binding DataViz chart (Bar chart) locally using Angular
I want to implement a kendo DataViz chart i.e., Bar chart locally using Angular binding, also i want to show bars of different colours as shown in the image:
Kindly advice me how to implement.
-1
votes
0answers
30 views
how to get data in python which is post by Angularjs
I am new in for python and Angulerjs also in stackoverflow so help me to solving fetching problem Angularjs to Python.Post is working properly but how to fetch data in python code is not working. Try ...
0
votes
1answer
30 views
AngularJS override service injection in some cases
I have an angular service (let's call it $superService), and I use it in lots of my directives, controllers etc. But I also have one specific directive that I would like to have the following ...
1
vote
1answer
21 views
Best way to use .less files in a large scale application developed using angularjs
I am creating a large scale application using AngularJS which is a Single Page App. I kept all the html files under the folder Views like below.
Views
Sample
sample.html
...
2
votes
1answer
37 views
Angular.js data-bind background images using media queries
I have an Angular.js application with dynamically background images (should have data-binding for their URL). I also want to use css media queries in order to detect orientation/pixel density etc.
...
0
votes
0answers
41 views
AngularJS - html5Mode - Cannot GET /login
Hi have created one angularJS application with yeoman, grunt and bower.
I have enabled the html5Mode for the application. And its working. But, when I refresh a page (localhost:9000/login), it says
...
1
vote
1answer
35 views
How to organize the commonly used view (HTML) files in AngularJS?
I am creating a large scale application using AngularJS which is a Single Page App. I kept all the script files under the folder Scripts like below.
Scripts
Sample
SampleModel.js
...
-2
votes
0answers
25 views
Onclick of a button update properties using angular.js
I need to implement a property browser for one HTML5 web application to change the properties. I have an object model and I need to update value to the object model on click on an apply button.
My ...
0
votes
0answers
28 views
Unable to authenticated using Redmine REST API
I am building a mobile application for redmine. So, to get data from the redmine server, I need to authenticated the user by passing his password and username. In redmine API documentation, two ...
0
votes
1answer
39 views
angularjs + angular-snap.js : content doesn't scroll independently
i have an angularJS app. i want to implement a slide menu (like facebook), i added angular-snap.js following the steps here: https://github.com/jtrussell/angular-snap.js ...this works fine in ...
0
votes
1answer
22 views
Angular issues with iOS webView
I created an HTML/Angular app, I created a frame in iOS that will load my html and show it in the web-view.
When i run the app i get the following error:
XMLHttpRequest cannot load ...
-4
votes
0answers
38 views
Javascript library for “match the following” kind of UI design
I have to develop a UI screen that has two sets and by drawing lines the user needs to map each of them.
Which is the best available UI framework or Library to achieve this. Also I need to save the ...
0
votes
1answer
22 views
Binding a variable though ng-repeat in angularjs
Given the following controller code
var NamesCtrl = function($scope) {
$scope.names = ['Bamse', 'Skalman'];
$scope.kill = function(name) {
$scope.names.splice(indexOf(name), 1);
}
};
Can ...
-1
votes
3answers
41 views
Is it possible to implement Vertical tabs in kendo-ui using angularjs
Is it possible to implement Vertical tabs in kendo-ui?.
I have to implement likewise in the screenshot .
1
vote
3answers
74 views
AngularJs - Best-Practices on adding an active class on click (ng-repeat)
I want to add an active class on click in a list, i tried the following code, but it adds the active class on all my items :/ :
HTML :
<div class="filters_ct" ng-controller="selectFilter">
...
0
votes
1answer
70 views
iphone HTML entities not interpreted
I am currently working on a website for a client, who encounters a bug that even I am not able to reproduce...
Here is a page example : http://newsletter.thenextgag.com/#/5/2014-01-02
My client is ...
0
votes
1answer
40 views
Preload image in browser for display after server disconnection
I am using AngularJS along with HTML5 Server-Side Events (SSE) to continuously update the display of some data in a web page. As part of this, I have an icon to display the state of the connection to ...
0
votes
1answer
36 views
How do I count selected checkboxes in Angular?
I need to count the number of items I have selected in a list.
I have the following list:
<ul>
<li ng-repeat="items in item">
<input type="checkbox" name="item_id[]" />
...
0
votes
0answers
44 views
html5 websocket send() function not working
I have browser js code that connects to Java @ServerEndpoint code (JSR-356). The connection is successfully opened (I checked this in debug mode both in Java and checked in Console in Chrome Developer ...
1
vote
0answers
30 views
Advanced Numeric Control for jQuery or Angular?
I've been on the looking for a jQuery or AngularJS numeric control that does things like:
Decimal formatting
Currency Formatting
Thousands formatting
along with the basic features in the HTML5 ...
0
votes
0answers
58 views
Partials not loading into AngularJS app
My app was loading partials fine before. But I changed it to run in HTML5 mode. Now the partials will not load into the page.Here is my code
index.html
<!doctype html>
<html lang="en" ...
0
votes
0answers
45 views
Submit event is not working in IE browser
I am using html5 along with angularjs. When I click on the save button, the event is not working on IE browsers.
How can I solve this issue?
code link:
jsfiddle.net/premraj10/LADWU/2/
0
votes
0answers
145 views
Bind Angular JS ui-bootstrap dropdown toggle to ng-model
I am trying to use the angularjs bootstrap dropdown toggle on a form, and i need to be able to bind the selected item back to a model for a new "organisation" in my application.
Here's my js module ...
0
votes
2answers
54 views
Angular expressions with html5 data tag
I am new to Angularjs and learning. I am trying to build an app which calls an api service to get a value and update it in a dashboard.
The html code is as below,
<div class="span3" ...
0
votes
1answer
47 views
Button type submit is not working in IE browsers
I am doing html5 code for my application presently button type submit is not working in IE browsers any suggestions please.
My code is here:
<form id="rowform{{lrd.id}}" editable-form ...
0
votes
2answers
39 views
Using history.pushState in Angular results in “10 $digest() iterations reached. Aborting!” error
I'm trying to change the url in my app from "http://www.test.com/foo" to "http://www.test.com/bar+someVariable" (somevariable is a string that I recieve from an http request inside bar's controller) ...
6
votes
1answer
82 views
When Angular directive's name really matters
I've just come across a strange behavior from Angular:
Here's the scenario:
In a registration form, I want to check for email uniqueness (through an http call to server).
Thus, I created a directive ...
0
votes
2answers
22 views
Will non standard-html-nodes be allowed to select by browsers?
I've dug in to projects like angular a bit lately. In angular, you can create you own html-nodes like this:
<gd-input-field label="Last Name" name="lastname" key="entry.544757237" ...
0
votes
2answers
42 views
mark search string dynamically using angular.js
How can I mark my search pattern dynamically in my html?
Example:
I'm using angular and my html looks like this:
<div>
<input type="text" ng-model="viewmodel.searchString"/>
...
0
votes
1answer
39 views
Angular and IE8 — HTML5 elements not styled inside ng-view
So I am trying to get angular working on IE8. I have followed all the steps on http://docs.angularjs.org/guide/ie and it seems to be working -- I see the content of ng-view rendered on IE8 when I ...
1
vote
0answers
52 views
Accelerometer not working in Firefox (works in Chrome)
This is my HTML:
<div class="sl-slide bg9" id="slide9">
<div class="bg9-content">
<header>
<h1></span>Accelerometer</h1>
...
0
votes
1answer
40 views
Javascript blur with password input not working
I have code like this:
var passwordTextBox = angular.element("#password");
passwordTextBox.blur(function() {
//do smth.
});
<input type="password" class="form-control" ...
6
votes
2answers
51 views
Skip repeat for some columns in ng-repeat
I wanted to have a table like this using angular repeat
HTML
<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
<th>Savings for ...
1
vote
1answer
62 views
Blob url in internet explorer with angularjs
Given this code (from someone else):
var module = angular.module('myApp', []);
module.controller('MyCtrl', function ($scope){
$scope.json = JSON.stringify({a:1, b:2});
});
...
2
votes
1answer
126 views
Pure Local Single-Page App With AngularJS and its RouteProvider
I'm currently trying to build a "web app" that runs off a flash drive, thus there can't be any other environment requires that launching chrome with some launch options and a path to the index.html ...
1
vote
1answer
39 views
Strangeness with Angular validation of input type=“number”
According to the documentation, validation keys for an:
<input type="number" required />
are:
required and number.
Let's recall that a key's value to true means key in error and false means ...
0
votes
1answer
95 views
Spring MVC ModelAndView object passing to Angularjs HTML
I have created a CRUD based Spring MVC application where on successful user addition to database controller passes message to jsp page .I am trying to convert this application to Spring MVC + ...
0
votes
1answer
47 views
Angular $scope is not refreshing in IE10
Service.getData( $scope.data
function( data ) // success
{
$scope.data = {
schedule:data.value,
};
}
On click of edit button this function will call and text box ...
0
votes
0answers
57 views
How do I test web application developed in AngularJS with selenium webdriver?
I want to test a web application developed in angularjs, html5 and css3 with selenium webdriver. Currently I am trying to test a login page and when I view the source code of the page, I do not see ...
1
vote
0answers
33 views
how do I programatically create a DragEvent?
This page describes the api for programmatically creating an event. Looking at the list, it indicates that Chrome and Safari do not support this api for creating DragEvents.
I'm trying to write ...
0
votes
1answer
65 views
add a class to <body> if in “capable” webapp on iOS 7
I'm using AngularJS and Ionic frameworks to develop a webapp for iOS 7.
I would to add a class to the body DOM element only when the page is loaded from the added-to-home webapp (which I set to ...