Tagged Questions
4
votes
3answers
8k views
Simple Angular $routeProvider resolve test. What is wrong with this code?
I have created a simple Angular JS $routeProvider resolve test application. It gives the following error:
Error: Unknown provider: dataProvider <- data
I would appreciate it if someone could ...
4
votes
2answers
9k views
Uploading a file with AngularJS and bluimp on success callback of another form
I have followed the following tutorial in order to integrate the notorious bluimp jQuery file uploader in my AngularJS project.
After some research I found that in the options array, witihn the ...
6
votes
1answer
4k views
AngularJS Directive not able to access isolate scope objects
I am trying to put some default values in my directive with Isolate scope. Basically, I need to do some DOM manipulations using the scope object when my directive is bound. Below is my code:
...
2
votes
2answers
52 views
Is there a loosly coupled way to update a parent directive from a dynamically created view/controller that is a child of the parent
In my app I have window instances. The app can contain multiple windows and windows can contain multiple views. The views are children of each window instance. The windows and view creator are ...
1
vote
2answers
2k views
AngularJS directive and pulling data from a service
I am trying to figure out the correct way to pull data into my directive from a service. For some reason my $watch statement isn't triggered when the data is loaded.
link: function(scope, element, ...
0
votes
2answers
167 views
How share Service dynamic data between Controllers and Directives
I'd like to know what pattern to use, if I need my Service to share it's dynamic data between Controller, Directives, etc. The reason I mention dynamic, is because I'd like to load new data and this ...