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

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

Passing data between service and directive

The use case is simple, there is movie.json which contains the movie objects. Next I want to display these objects using directives which are nested movies -> movie. The mediator and data exchange I ...
0
votes
0answers
19 views

angular js '?' in ng-src causes infinite loop

I am trying to get a way around IE getting images from cache while using AngularJS I have this following code <img ng-src="./individuals/image/{{team._id}}/{{member._id}}{{getRandom()}}" > ...
-2
votes
0answers
16 views

redirection does not work angularjs requirejs

I have the following error using angular and RequireJS. redirection does not work and does not leave any mistake. Any ideas thanks. Code in plunker In my local machine does not work. I do not know ...
1
vote
1answer
22 views

Angularjs Argument is not a function got string

I am a newbie to angularjs. I am building an application where my home page will have a list of posts. I thought of using angularjs for two way binding for that page alone. I started with a sample ...
-1
votes
0answers
32 views

Get parent Element from the Controller

Is it possible to get the dimensions of the parent container (width x height) through the controller using angular (not jquery). For example: app.controller('appCtrl', function appCtrl($scope) { ...
0
votes
2answers
18 views

Using angulars ngResource get method

I have a basic controller defined in C#, its only purpose is to return whoever the current user is. namespace ProjectName.Controllers { public class UserController : ApiController { ...
1
vote
1answer
31 views

How to fix TS2081 && TS2087 errors in TypeScript 0.9

Just need to fix this errors. If it helps this app uses AngularJS. TypeScript version is 0.9.0.0 /path/app/scripts/Application.ts(22,13): error TS2081: Supplied parameters do not match ...
1
vote
0answers
23 views

How Can I Subscribe from an Angular Directive to Be Notified of Resize Events?

I have an element that is sized via Bootstrap and annotated with my custom directive myDirective1: <div class="span4" myDirective1>Hello, world</div> Inside my directive's linking ...
0
votes
2answers
20 views

Conditional Validation in AngularJS

I need to apply a validation on a form field only if certain condition is met. Say I have a form like this: <div ng-controller="MyController"> <form name="myForm"> <div> ...
0
votes
0answers
18 views

angularjs ng-class in nested directive

Tried so many different ways and still can't figure this. I have a menu with ng-class="{menuVisibleAnimation: menuOpen}" in a template in a nested directive. When I click on the button in the parent ...
0
votes
0answers
14 views

Emebed Vimeo video using AngularJS directive

I have a partial HTML page in an AngularJS app that I'm trying to add a vimeo video to. This template has an image and play button that fades out on click to show the underlying iFrame. I also want ...
0
votes
0answers
20 views

AngularJS Uploading An Image With ng-upload

I am trying to upload a file in AngularJS using ng-upload but I am running into issues. My html looks like this: <div class="create-article" ng-controller="PostCreateCtrl"> <form ...
0
votes
1answer
38 views

Beginner guide to test AngularJS controllers

Can someone please point me to a resource, where I can get a Beginner tutorial on how to write unit test for AngularJS controller? I have never written any test for JavaScript before. But, very ...
1
vote
1answer
19 views

How to implement authentication for mobile Django client based upon JqueryMobile, AngularJs, PhoneGap

I'm trying to create a one-site mobile app using AngularJS and jquerymobile, deploying it as a "native" app using PhoneGap. The one-page navigation is build up similar to this jsfiddle, using ...
0
votes
1answer
27 views

HTML template in AngularJS like KnockoutJS

HTML templates can be used multiple times with supplied data as object in KnockoutJS, I am getting difficulties in finding the same feature with AngularJS. Take a look at below URL of KO ...

1 2 3 4 5 485
15 30 50 per page