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
0
votes
2answers
77 views
+50
How to test run block of a module
I want my AngularJS app to make a http request to retrieve user information from the server or redirect to login screen. I implemented this in a run block of my app's main module. But how do I test ...
-2
votes
0answers
110 views
+50
Bootstrap Popovers are not positioned correctly
I have been implementing some extra placements for bootstrap's popovers, and they are all working quite nicely. I am however having trouble with dynamic content in popovers.
The content is rendering ...
0
votes
1answer
45 views
+50
How can I use MongoLab Api with Breeze.js?
How do I connect MongoDB using MongoLab Api to Breeze.js with angular.js Can anyone help with wiring up the setup. Has anyone tried this setup?
...
1
vote
3answers
117 views
+50
Security for an AngularJs + ServiceStack App
I have an application that have four modules in the front end, I'm trying to use as much as possible AngularJs in the front end I'm using an empty website asp.net project to host all the files and the ...
3
votes
5answers
196 views
+200
What's the AngularJS “way” of handling a CRUD resource
I am interested in moving a lot of my client's "logic" away from Rails routing to AngularJS. I have slight confusion in one topic and that is linking. Now, I do understand there's more than one way to ...
0
votes
1answer
61 views
+50
ngSwitch slider directive not working
I'm trying to create a slider directive inpired by this example using ngSwitch and ngAnimate but without success. There is a timeout calling the next function that increments the scope.current ...
0
votes
0answers
76 views
+100
Bad base path when browser refreshes, ngView breaks
When I access my page from the index and start browsing everything works fine, but when I am on a route other than / for example in /details/123 and I refresh the page(I have URL rewriting configured) ...
2
votes
0answers
348 views
+50
How to resolve $q.all promises in Jasmine unit tests?
My controller has code like below:
$q.all([qService.getData($scope.id), dService.getData(), qTService.get()])
.then(function (allData) {
$scope.data1 = allData[0];
...