Tagged Questions
1
vote
1answer
6 views
Using Kinvey.Social to login with an Angular App and Promise API
I've been using the Kinvey HTML5 library to try to build a client-side app that uses Google identities for Login. Everything seems to be fine as far as the Oauth transaction is concerned, but I'm ...
1
vote
1answer
16 views
AngularJS field validation expressions don't seem to work in ng-show
I'm struggling with AngularJS validation. Here's my SSCCE in HTML 5 (which, due to my server-side framework, is required to be valid XML):
View in JSFiddle
HTML
<div ng-app="">
<form ...
0
votes
1answer
207 views
Filter dropdown with subcategories in angular
I have two dropdowns that I populate with data from the server. The first dropdown contains a category, and the second one contains all the subcategories. Like so:
<select ng-model="category1">
...
0
votes
1answer
24 views
Understanding HTML5 pushState and server-side interaction
I am trying to understand something fundamental. I have an AngularJS front-end with a Rails backend. Whenever I define a route on the Angular side of things, it still hits the Rails backend, even if ...
2
votes
1answer
56 views
How to do compute-intensive tasks in AngularJS application?
I am writing an application using JavaScript, HTML5 and AngularJS. It only has to work on pretty recent browsers (for instance, IE10 but not IE9).
At several places in the application, there will be ...
1
vote
1answer
78 views
Barcode and Qrcode scanning using Angular js HTML5
I require to scan Barcode and Qrcode on Android /iphone/ipad devices.
The Project is completely based on Angular JS and HTML5.It is mobile website.
Below is the requirement.
It should not download ...
1
vote
2answers
76 views
Custom HTML5 video player controls with AngularJS
I'm new with AngularJS. I must create customs controls for a video player (HTML5 <video>).
Basically, I would use getElementById('myvideotag'), listen clicks on the video for play/pause.
How I ...
0
votes
1answer
46 views
AngularJS HTML sub routes not showing when url typed in
I have AngularJS setup to use HTML5 routes and it works great on urls like website.com/foo but when I create routes for sub pages, eg: website.com/foo/bar it only shows the correct page when clicking ...
0
votes
2answers
47 views
Running some code only once in AngularJS
I have some code that I need to run only once, but I'm not sure where do that code belongs to (service? factory?)
This is the code:
socket.on('recv chat', function (data){
$("#chat").append(
...
0
votes
1answer
27 views
Update fields with user position using a service
I would like to update some fields when I receive a geoposition for a give user.
Until know I have the following code:
http://jsfiddle.net/VSph2/10/
Firstly, I get a Error: Unknown provider: ...
30
votes
1answer
10k views
AngularJS ng-include
I'm trying to include an html snippet inside of an ng-repeat, but I can't get the include to work. It seems the current syntax of ng-include is different than what it was previously: I see many ...
0
votes
2answers
27 views
Service retrieves data from datastore but does not update ui
I have a service which retrieves data from the datastore (Web SQL). Afterwards, it stores the data in a AngularJS array. The problem is that this does not initiate changes to the UI.
Contrary, if ...
0
votes
0answers
35 views
HAML : Img tag inside anchor tag
Here is guy that made a lot of effort:
.picture{:"ng-repeat" => "picture in pictures"}
%h2 {{picture.title}}
%a{ :ng-href => "pictures/{{$index}}"}
%img{:src => ...
1
vote
1answer
21 views
Disable tag with ng-show but not content in AngularJS
Is it possible to just "disable" a tag instead of completly hiding it with its content? I want to enclose my content with the pre-tag only if a boolean is true. ng-show hides the complete tag with ...
0
votes
2answers
70 views
How to integrate a progress bar into angularjs directive with file upload
I need to create a progress bar for file uploads. I know my progress event listener is working. Is there are more "angular way" to be doing this? How can I update the progress bar from inside my ...