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.
0
votes
0answers
4 views
Angular css files not loading when controlling two Partials with a single Controller
I'm working on a web-application built upon the MEAN stack.
I use bootstrap as css lib, and have some css override in two files of mine "app.css" and "mio.css"
the app works just fine until I hit ...
0
votes
1answer
13 views
How to use ng-repeat in directive with isolate scope?
I'm trying to use ng-repeat in a directive that has an isolate scope, but I can't seem to get it working.
When I add an isolate scope to my directive, ng-repeat seems to not be able to see items, ...
0
votes
1answer
6 views
AngularJs broadcast repeating execution too many times
Inside one of my Angular controllers, I have this:
// controller A
$rootScope.$on("myEventFire", function(event, reload) {
someAction();
});
In another controller I have this:
// controller B
...
1
vote
1answer
15 views
Can Angular template call function returning promise
Angular's $q documentation says "$q promises are recognized by the templating engine in angular, which means that in templates you can treat promises attached to a scope as if they were the resulting ...
0
votes
1answer
12 views
Stacking Directives in angularJS
I'm wondering how/if it is possible to extend or stack AngularJS directive behavior. What i want to achieve is to define a custom directive as an attribute in a div and be able to cumulatively add ...
0
votes
1answer
15 views
Best way to dynamically update jQuery UI attribute with Angular JS?
I have an attribute in which I add the "draggable" directive to. This enables the jQuery UI draggable component. My directive is as follows:
testModule.directive('draggable', function () {
...
0
votes
1answer
8 views
Bower install dependency to a specific subdirectory
How do I install a dependency into a specific subdirectory using Bower? I'm working on an application built on AngularJS that requires localization. One of the libraries I'm using is looking for ...
1
vote
0answers
6 views
AngularJS - How to connect to Twitter application-only authentication via Oauth2?
I try to receive an accessToken from the Twitter application-only authentication but I keep receiving a 405 (Method Not Allowed) response from the twitter api. Anybody knows how to solve this? I'm ...
0
votes
0answers
9 views
Angular typeahead, filtering, $resource and promises
I'm implementing a typeahead using angular like this:
<input type="text" ng-model="bindingValue"
typeahead="item for item in items($viewValue) | filter:$viewValue"
...
0
votes
1answer
12 views
Angular UI $modal component transition
Folks,
I am using the $modal component from Angular UI (http://angular-ui.github.io/bootstrap/).
Whenever the modal opens it sort of scrolls down from the top.
I simply want it to open instead of ...
0
votes
0answers
14 views
Updating model variable upon navigation
Why isn't {{ username }} variable (in example below) updated when I'm navigating using in-page links? The variable is only set on initial page load (equal to Anonymous) and isn't updated no more, why ...
0
votes
0answers
5 views
Karma-angular e2e cli test scripts fails to run (while tests do run from the browser)
in the browser everything works: localhost:8002/test/e2e/runner.html
while in the cli ./scripts/e2e-test.sh it fails with:
The config:
module.exports = function(config){
config.set({
basePath ...
0
votes
0answers
28 views
Angular model relationship connections
I've got two models, users and goals. I've got it hooked up so I can create/edit/delete from either. But I can't figure out how to connect the two.
I want to be able to click a users goals link to ...
0
votes
4answers
32 views
AngularJS Accidental Sharing of Scopes
I'm having a problem in AngularJS where my parent controller and child controller are sharing the same model. In this examples, there is recursive comments:
<div ...
0
votes
2answers
28 views
other than ng-view page loading
I am using a master page having navigation and ng-view on it, partial pages loading successfully under ng-view and with navigation of master page , but I require to load some isolated page like ...