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
0answers
5 views

AngularJS test a directive that modifies the DOM

My UI directive modifies the DOM in the compile function. It takes the value of the type attribute and creates a new attribute named after that value. there are directives that will be triggered with ...
2
votes
0answers
9 views

Angular.js and DAO pattern

First of all I must admit I am quite new to Angular.js and I haven't used any new generation js framework like Backbone or Knockout before. I'm creating an application which communicates with server ...
0
votes
1answer
9 views

angularJs $http. cannot revice params from request

angularjs code: $http({ method: 'POST', url:'/hello/rest/user/test', data: $.param({user: 'aaaaa'}) }); Server code: @POST @Path("/test") public Response merge(@Context ...
0
votes
0answers
3 views

angular-kendo grid not firing edit event or custom commands

I cannot get custom commands to work because the function needs to be proper JSON. I also cannot get the built-in "edit" event to work either. Clicking the edit button just refreshes the page and ...
-1
votes
0answers
18 views

How to position a 'simplemodal' pop up next to a button?

I have a bootstrap simplemodal, which is centered on the screen. This gets popped on clicking a button. How do I position the pop up just next to the button? Note: I am writing this simplemodal in an ...
0
votes
1answer
20 views

What is the best practice to pass parameters from Controller to a directive?

I'm new i Angular.js In my angular app, I have an directive and one controller. I need that my controller send in options of any kinds of configurations, including callback methods. My directive is ...
0
votes
0answers
8 views

Symfony2+AngularJs+REST, how to secure application

First, let me describe the application: we are working on a web-based software which is some kind of custom help desk application. It requires the user to login (we use FOSUserBundle). After login the ...
0
votes
1answer
19 views

AngularJS select directive not working with option

This example seems simple enough, I just can't seem to figure out why it is not working (I don't want to use ng-options because that doesn't work with select2, a plugin I want to use once I get this ...
0
votes
1answer
26 views

Is there something like initialize module once in angular?

Can I have loading some data once in angular module? I tried to use .run() but it gets called whenever page is accessed. For Example: say there are 2 html pages belonging to same module: ...
0
votes
1answer
16 views

angular.js boradcast error: $rootScope.broadcast is not a function

I am adding items dynamically to an array of items and would like to let a directive know that there are new items. So inside the controller function addItem() I am trying to do the following: ...
0
votes
1answer
16 views

$rootscope object model from service not (always) available in every controller

In my app definition I have: var myVtModule = angular.module('vtApp', ['myAppDev','mongoAPI']); myVtModule.run(function($rootScope, $location, Shop){ $rootScope.shopData = {}; ...
0
votes
2answers
48 views

Replacing the <img> src with Angular.js

I am currently building a slideshow of header images, then on click select and set that header image to replace the old one. This is my code so far: var app = angular.module('plunker', []); ...
0
votes
1answer
17 views

AngularJS: Deleting from scope without hardociding

I have an array of items bound to <li> elements in a <ul> with AngularJS. I want to be able to click "remove item" next to each of them and have the item removed. This answer on ...
0
votes
1answer
13 views

AngularJS & Rails - Seperated apps/deployments or one app?

Most of the resources/example about rails and angular on the internet just put them together. AngularJS goes inside of rails under app/assets. This feels reeeaaaly dirty to me. Is it a good idea? What ...
0
votes
0answers
14 views

AngularJS: Deep linking without having to use partial templates

I'm using AngularJs to develop an application which allows to explore complex data. Therefor the concept of different views (-> routing with partial templates / controllers) does not fit very well for ...

1 2 3 4 5 324
15 30 50 per page