Tagged Questions
37
votes
4answers
6k views
How do search engines deal with AngularJS applications?
I see two issues with AngularJS application regarding search engines and SEO:
1) What happens with custom tags? Do search engines ignore the whole content within those tags? i.e. suppose I have
...
24
votes
1answer
9k 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 ...
13
votes
2answers
2k views
how to make an Angular.js app offline with server sync when available
im looking for an approach or a library that handles this. the idea is to store data in localstorage and sync to the backend when a connection is available, http://pouchdb.com/ looks like a cool ...
10
votes
3answers
11k views
AngularJS - Value attribute on an input text box is ignored when there is a ng-model used?
Using AngularJS if I set a simple input text box value to something like "bob" below. The value does not display if the ng-model attribute is added.
<input type="text" id="rootFolder" ...
10
votes
3answers
2k views
AngularJS tags attributes
I am learning about AngularJS and see it adds some of its own attributes that nor start with data neither are standard html tags attributes, like this:
<html ng-app>
or this:
<body ...
10
votes
2answers
3k views
html5, angularJS with closure compiler and/or closure library
I'm considering html5, angularJS for data binding and also google closure compiler and the closure library for interactive web applications. Do those work nicely together? Unfortunately there seem to ...
8
votes
5answers
5k views
How can I get angular.js checkboxes with select/unselect all functionality and indeterminate values?
I am looking for something exactly like these (tri-state checkboxes with "parents"). But using that solution wouldn't be elegant, as I do not depend on jQuery right now, and I would need to call ...
8
votes
2answers
2k views
AngularJS ng-repeat with no html element
I am currently using this piece of code to render a list:
<ul ng-cloak>
<div ng-repeat="n in list">
<li><a href="{{ n[1] }}">{{ n[0] }}</a></li>
...
8
votes
1answer
2k views
AngularJS file drag and drop in directive
This example does pretty much what I would like to port in Angular-js: HTML5 File API.
I have been trying to google some example of directives however I found old example that do massive use of DOM ...
6
votes
4answers
6k views
AngularJS fail to load module
EDIT: This only happens with IE (tested on IE10)
I have a app that loads fine initially, however, when refreshed it gives this error:
SCRIPT5022: No module: myAppModule
myAppModule is an ...
5
votes
1answer
986 views
Angular JS for game UI
I am currently building a web game using html5 and the Impact JS game engine. I want to overlay html components over the top of the canvas/impact engine, and I was looking for some frameworks that ...
4
votes
2answers
292 views
How to make two controllers perform same action in Angular, but change visual aspect of site?
I would like to replicate Google's home page functionality in Angular, and it's causing me grief. I've gone through the Egghead videos and read the entire API, but there's no particular example for ...
4
votes
1answer
2k views
AngularJS, how do I make the UI dependent on which field has focus?
I have an AngularJS page with several form inputs.
When the some of the inputs have focus, I want to change other, arbitrary, aspects of the page.
For example, when the user is in the 'stock code' ...
4
votes
2answers
218 views
ng-app vs. data-ng-app, what is the difference?
I'm currently looking at this start tutorial video for angular.js
At some moment (after 12'40"), the speaker states that the attributes ng-app and data-ng-app="" are more or less equivalent inside ...
4
votes
1answer
221 views
Why is an input of type=“number” not showing updates to its bound value?
A set of HTML input controls are bound to testVar:
<div ng-app>
<div ng-controller="TestCtrl">
<input type="text" ng-model="testVar">
<input type="number" ...