Tagged Questions
AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.
1
vote
0answers
5 views
Fade-in element after page load
In AngularJS, how can I fade-in the headline in the following example? The idea is to fade-in the headline once it becomes available after page load.
HTML
<section class="headline">
...
0
votes
0answers
4 views
Custom attributes for Flask WTForms
I develop website on Flask and AngularJS. I need to send a form whith AJAX using AngularJS but it requires a custom attribute for input field. For example I have a form in Jinja2 template:
<form ...
2
votes
0answers
13 views
creating a cascading dropbox in angular.js
I have a nested object that I'm trying to turn into a cascading select box.
"A": {
"a1": 1,
"a2": 2
},
"B": {
"b1": {
"b11": 111
},
"b2": {
...
0
votes
1answer
11 views
UI-Router inheriting views
i'm beginning to have some serious repetitions in my code.
Is there any way to declare a father view that outer views will inherit from ?
my code is as below :
var header = { templateUrl: ...
0
votes
1answer
19 views
How to convert obj to string in Angular JS
I am trying to find the remainder of a factory return. I keep getting null even though the obj is returning a number. Is there a way to convert the return to a true number?
Setting up module with ...
0
votes
1answer
26 views
On click How can I cycle through JSON one by one in AngularJS
Creating my first directive as an exercise in angular —making more or less a custom carousel to learn how directives work.
I've set up a Factory with some JSON data:
directiveApp.factory("Actors", ...
0
votes
2answers
16 views
which is efficient among the three methods and why there are three different methods to do the same and which to use where?
I found by investigation that there are 3 methods to get a custom tag or directive in angular
1) give the file directly as file's location in templateUrl
/* controller */
var foundation = ...
0
votes
1answer
13 views
How to pass route and post parameters to WebApi2 with route attribute from Angularjs
I am trying to migrating my Web api code to Web api 2 and kind of unable to understand how to get it working with angular js. I didn't find any example on the net that kind of explained that.
here ...
0
votes
1answer
9 views
After calling $resource is the digest cycle run so as to redisplay the data in my view?
I created the following question to ask for some help using $promise for finally with $resource for version 1.2.2 and higher. I'm asking this because as far as I can see it's not even mentioned in the ...
-5
votes
0answers
21 views
Angular JS Function To Add New Image Form Not Work [on hold]
I want add new image form upload in a div with id add_foto when i click a button and run addnewformupload function,but i don't know why my addnewformupload function not run ,what's wrong with my code ...
0
votes
0answers
18 views
How to have AngularJS output escaped HTML
I am getting JSON data from the server, one of the field contains escaped html (an email body actually):
<html>\r\n<head>\r\n<meta ...
0
votes
0answers
14 views
How should I structure my Angular modules for easy globbing?
I've taken to structuring my Angular apps in terms of modules, kind of like the Angular repo itself. For example, a module's structure might look like:
module
|--module.js
|--directives
| ...
0
votes
0answers
18 views
ANGULAR: Not able to pass string containing {{}} in directive scope using @ after upgrading to angular version to 1.2.3
I'm passing "/foo/bar/{{value}}" as a string using @ to the directive so I can use the interpolate method to construct hrefs for a dropdown. I think angular is looking for value when compiling ...
0
votes
0answers
14 views
ng-include recursively including whole index.html, and giving error “10 $digest() iterations reached”
I am having the following problem with ng-include. What am I missing? Anybody had a similar issue?
The template test.html is never included.
<h1>Testing</h1> is repeated many, many ...
-4
votes
0answers
11 views
angularJS Rotating of cloud of images [on hold]
working in angularJS, i am trying to Create a cloud of images tourning a round like this link images. enter link description herehttp://demetz.fr/sport/
thank you for your help