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
3answers
97 views
+50

Testing asynchrone function gives Unexpected request

The unittest: "use strict"; var usersJSON = {}; describe("mainT", function () { var ctrl, scope, httpBackend, locationMock, beforeEach(module("testK")); beforeEach(inject(function ...
0
votes
1answer
66 views
+50

Cannot set Input text field using AnglurJS and Geb

I am using Grails and AngularJS in a webapp. To test, I am trying to use Geb (a groovy wrapper around selenium / webdriver). I am having difficult setting an input text field. Here is my pageclass. ...
0
votes
0answers
46 views
+50

How can I automatically go to the last selected child state when I view only the parent state with ui-router?

I have the following set up: var admin = { name: 'admin', url: '/admin', views: { 'menu': { templateUrl: ...
0
votes
1answer
25 views
+50

How can I make CKEditor update my backing data object when I am looking at Source?

When my users make changes to the edit window it seems like the backing data object is update constantly. However when the user clicks on [SOURCE] and makes changes then it seems there is no update. ...
0
votes
1answer
25 views
+50

How can I update my backing data object when the insertPre plugin returns and updates my edit area?

I am using the insertPre plugin. I don't use a SAVE button and rely on the CKEditor always keeping my back-end data in sync. When a user enters data into the insertPre plugin and then clicks okay the ...
0
votes
1answer
22 views
+50

AngularJS - Unit testing file uploads

As you know, inside unit tests it's built-in angularjs feature to mock XHR requests with $httpBackend - this is nice and helpful while writing unit tests. Recently, I met with need of mocking XHR in ...