Tagged Questions
2
votes
1answer
17 views
AngularJS SEO using HTML5 mode: Would love some clarity on how this functions behind-the-scenes
There are numerous resources out there for implementing SEO-friendly versions of AngularJS applications, of course. Despite reading all of them numerous times, I'm still a bit unclear on a few things, ...
2
votes
0answers
29 views
“Save As” a file that is in HTML5 local storage in angular application
I have seen a number of questions that talk about getting data into HTML5 local storage and even seen a cool text editor that saves the files in local storage. I have a similar application and would ...
1
vote
1answer
16 views
AngularJS ngRepeat filter with null values removes nulls permanently, why?
Here is a JSFiddle example I made that explains the issue:
http://jsfiddle.net/s6Lj2/2/
Notice that in the data
$scope.places = [{
name: 'Chicago',
status: 'Active',
analyst: 'Sam',
...
0
votes
1answer
31 views
Is it possible to create a self contained Angularjs app that will not clash with with any other Js or css libraries on the same page
This may not be a plausible and I will except that as an answer if someone can tell me why with reasonable detail but I am looking to create a simple Angularjs app that I can include in any html page ...
0
votes
2answers
24 views
Creating AngularJS object that calls method on app load
I am wondering if there is a convention within AngularJS for creating an object that lives within the app module, but is not attached directly to the view in any way, but is called when the view has ...
0
votes
0answers
19 views
angular bootstrap - how to make an accordion with list html5 tags
I have a list making with simple html5 tags:
<ul>
<li class=" nav-gray">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseSix">
...
1
vote
1answer
33 views
Angular + HTML 5 pushstate error
I have Angular version 1.2.16, and my module is configured like this:
publicApp.angularModule = angular.module('Public', [ 'ui.select2', 'infinite-scroll', 'ngSanitize', 'ui.utils'])
...
-1
votes
0answers
17 views
binding html5 data to angular model using jquery component
I am using a jquery form helper that allows a user to increment the numerical values. I am doing form validation in angular, but it doesn't seem to bind the data entered to the angular model:
...
0
votes
1answer
14 views
Protractor: sessionStorage variables
How would I get the value of a sessionStorage variable in protractor? I tried:
browser.executeScript('sessionStorage.getItem("login");');
but that returns null. Using sessionStorage.getItem() ...
2
votes
1answer
34 views
HTML5 File Reader API: the event 'onload' does not fire
I'm new with AngularJS, HTML5 and JavaScript. I'm doing a service in angularjs that reads text files. I'm using the HTML5 File Reader API. The problem is that the event 'onload'(or other) does not ...
0
votes
0answers
36 views
Why is this AngularJS routing broken when html5mode is enabled?
I would like to use AngularJS routing. I am using AngularJS-seed-master as a start and routing works by default. However, it stopped working after I enabled html5mode. Below is the html code when ...
0
votes
1answer
26 views
Dart Polymer form field not showing validate errors
I have code similar to this example working nicely with a sing-page app using AngularJS. I wanted to upgrade the page by using Dart and Dart-Polymer.
In the HTML5 AngularJS version the HTML types ...
-3
votes
0answers
11 views
XML tree display and to be editable on web page [closed]
I want to show xml data treeview and same time it should be editable and save on a web page.
Any Help?
Like textarea were I can edit and view code. But XML should be formatted as tree.
0
votes
0answers
17 views
Keyboard input in Fullscreen Mode with Safari
I have seen this question asked before in the past but the ones i can find were asked a while ago so here it is.
I have an AngularJs app, I am using the Fullscreen API as follows:
function ...
0
votes
1answer
25 views
How to get color of svg linearGradient at specific position
I have a linear gradient that is used as percentage bar with a small ellipse that moves along the bar to show the current completion percentage. The completion percentage is updated via an AngularJS ...
2
votes
1answer
29 views
AngularJS Numbers and Return
is there a way to use AngularJS to only accept Numbers and Return (/n/r) in a textarea?
similarly like this:
<textarea>
2344
5335
55555
2222
234
</textarea>
Above is just an example of ...
0
votes
0answers
43 views
IE 10 doctype issue [closed]
I am working on an angularjs html5 application using .net the page is rendering fine in ie quirk mode but fails in standard mode.
similar thing happens when i put <!doctype html> in chrome. ...
6
votes
1answer
64 views
angularjs compress image before upload
I'm buliding a web site for mobile devices, that use angular-file-upload.min.js for uploading images from a mobile device image library.
html:
<div>
<div class="rating-camera-icon">
...
0
votes
1answer
35 views
html post method vs angularjs
i want to use angular js in my application, and at the initial stage I followed plain html for front view and back end potion I used servlet and ejb class where I organized sql query's following CURD ...
1
vote
2answers
35 views
Updating html input with getElementById and Filtering with AngularJs
I am Using html input which gets changed via an External Js file. The input field is used to filter a list of table.
Very Basically I have:
JavaScript
<script>
...
0
votes
0answers
19 views
Angular and HTML5 fullscreen API
In my main controller, I've got a function that toggles true/false for a fullscreen browser state like so:
// Full Screen toggle
$scope.fsState = false;
$scope.fullScreen = function fullScreen(){
...
0
votes
1answer
13 views
AngularJS model is not updating view when using input type as number
When I use input type as number with value attribute it didn't shows the value it the input box. But, when I change it to text it works correctly.
<input value="30" ...
0
votes
1answer
36 views
How can I use HTML5 geolocation in angularjs
How can I use HTML5 geolocation in angularjs?? I can get it using HTML55; but how can I pass it to angularjs scope in controller??? any sample jsfiddle will save my day!
1
vote
1answer
20 views
How to space apart bootstrap label components?
I'm using angular.js and serving bootstrap for my front-end. I'm laying out labels with the following code:
<div class="some_labels">
<label>
{{main.text}}
<span ...
0
votes
1answer
53 views
Angular directive to replace external links
How can i create a custom filter to replace:
<a href="http://www.externalsite.com">Whatever text</a>
into this:
<a href="#" ...
0
votes
0answers
12 views
How to get Screenshot of grid in angularjs or html5 using a directive(event broadcast)?
I have a 'Take screenshot' button directive in my angularjs app.
Actually, a page in my app, contains many other components including a Datagrid directive and a toolbar with many buttons. One of ...
0
votes
0answers
24 views
How to get all the files for a given extension in a direcotry including nesting directories with html 5 file system?
I'm building an application with PhoneGap/Cordova and AngularJS and stuck with the file system.
Say I have a directory which has many nesting sub directories. Now I need to get all the json files ...
0
votes
1answer
22 views
How to get element calling onload in AngularJS ng-include
Is there a way to get the element triggering an 'onload' event of an ng-include ? Something like $event in ng-click which I can use to get the element calling the onload function.
0
votes
1answer
26 views
Drag/Touchmove Event with constant DOM Manipulation
I am looking to implement some Mobile Components using native Javascript and AngularJS.
While, I was working on creating a Pull To Refresh directive for AngularJS, I used touchmove event on a UL ...
-3
votes
0answers
26 views
Angularjs indexacion not working
I have my app made angularjs but I've been researching and I see that the search engines do not process javascript any ideas?
This is my site http://targoom.com
0
votes
1answer
27 views
setting AnglarJs form to Pristine
I have a form...
<form name="myForm" class="form" ng-submit="submit()" novalidate>
<input type="text">
</form>
Then I want to reset my form to pristine
...
3
votes
3answers
64 views
Reset a HTML5 “number” field containing text using AngularJS in Google Chrome
Use Case
I have a number field that specifically says "Enter a number". The end user will invariably enter a string. When the user clicks the "Reset" button using Google Chrome, the number fields ...
0
votes
1answer
44 views
Cannot deselect HTML 5 Range Slider Input
I am not sure if this is a bug in Chrome but for some reason when I use a html 5 range input I cannot deselect it. Even when I move my cursor away and let go of the button on mouse the slider ...
0
votes
0answers
35 views
Performance issue when angular directive is called more number of times on page
I have created an angular directive which is for adding span tags of error messages below input textboxes. I wanted to reduce the lines of codes so made an angular directive for that.
Now the ...
0
votes
2answers
55 views
Form validation - Multiple emails
Hi I have a form with a text area that holds multiple emails addresses. How can I validate this in AngularJS, right now it says it is invalid when there is more than one emails. The emails will be ...
1
vote
4answers
115 views
opening angularjs app in google chrome 32 shows blank page
I'm working on a web app for my mom's startup, and because I thought a full server-side framework would be overkill, I decided to write it using AngularJS. I've gotten the basic layout done, wrote ...
2
votes
2answers
72 views
Call function of angularjs instead of jquery
AngularJS has functions which override jquery functions. For e.g., wrap() function is there in angular.js and in jquery-1.10.2 also but I want to call the wrap() function of angular.js so how should I ...
-1
votes
1answer
43 views
Newly added elements from angular directive not getting compiled
I wrapped my input tag with some div tags as per the requirement. Now the issue is, class of div tag is changing dynamically by angular, but seems this newly added div is not getting compiled and ...
2
votes
2answers
33 views
AngularJS Directive Controller definition
In AngularJS directive I understood there are 2 ways to define the controller. The controller can be defined as part of directive definition using controller: option. Alternatively, the view of the ...
1
vote
1answer
84 views
HTML5 pushState Clash w/Angular UI-Router URL Routing
I have an Angular.js webapp that employs ui-router (https://github.com/angular-ui/ui-router) w/parallel named views like such:
.state(
'app.experience', {
url: ...
0
votes
2answers
39 views
Wrap html element with Divs from custom directive
I have an <input /> tag which I want to wrap with some specific Div tags. I'm making custom directive in which I want to implement this functionality. But the problem which I'm facing is, ...
0
votes
0answers
13 views
AngularJS with Kendo Graph
I use angularjs in my project. I have a table which I fill using ng-repeat and a json file for the data. In the table I also have a chart (with Kendo Dataviz) and I want to use the values from the ...
0
votes
0answers
30 views
HTML5 Drag and Drop not working (with AngularJS)
I have the following basics:
<div draggable="true" dir1>Blah</div>
<div class="drop" dir2></div>
I don't want to see the 'ghost image', and I don't want a smooth drag & ...
-1
votes
1answer
64 views
How can I convert the stream into a file using AngularJS?
Already I am returning a file stream (StreamingOutput) from the server. I need to convert the file stream into a file using AngularJS or javascript or JQuery or any other libraries.
What I want is ...
-2
votes
2answers
48 views
Is my application secure? [closed]
First of all, I don't have any code to display in my question here, because I'm still designing the application structure, as I only have the design developed.
I'm building a phone application that ...
0
votes
1answer
38 views
How to do AngularJs view enter animation
I'm trying to create slide-in animation when a view is rendered in the angular app similar to this sample
Here is my app http://plnkr.co/edit/nO7mfjx5iOUUyB0tZwIq?p=preview.
I copied all the css ...
0
votes
0answers
27 views
AngularJS with Kendo Graph
I use angularjs in my project. I have a table which I fill using ng-repeat and a json file for the data. In the table I also have a chart (with Kendo Dataviz) and I want to use the values from the ...
0
votes
3answers
61 views
Is there a way to get HTTP status code name using JS and AngularJS?
I have an AngularJS, JS, JQ, HTML5, CSS3 web app. It is suposed to send different HTTP methods to REST API of our projects and manipulate them. It has similar behavior to Dev HTTP Client. Every ...
-1
votes
2answers
40 views
Use checkbox to select item Angular JS
I want to be able to have a list of items and to select one using a checkbox:
<div data-ng-repeat="device in devices">
<div class="col-sm-offset-2 col-sm-10">
<div ...
0
votes
1answer
57 views
angularjs: Unable to display special characters in input field of type number
i am having problem in angularjs in formatting a input field. here's the background
we need a creditcard input textfield which needs to be type="number" so that mobile can show numeric keyboard. On ...