Aug
13
answered Show div at mouse click position, accounting for scrolling
Aug
13
comment Show div at mouse click position, accounting for scrolling
I'm just getting the tempX and tempY values from the code I linked in the question and assigning those values to the top and left properties of the div, and setting the position to absolute. The parent div is just a normal div with a vertical scroll bar.
Aug
13
answered Heatmap in python
Aug
13
asked Show div at mouse click position, accounting for scrolling
Aug
13
awarded Nice Question
Jul
23
asked Scope not updated outside resource callback function
Jul
17
comment Custom Directives Not Loading in AngularJS
Also if I instead use ng-include to simply include the partial html files instead of the custom directives I get the same issue.
Jul
17
comment Custom Directives Not Loading in AngularJS
Maybe I should clarify. Each partial html file specified by the directive uses a controller which I've defined in a separate file and added to my mainApp module. I state this ng-app at the top of my index file and yes all of my styles are linked in the index file. I tried using "require" as you suggested on the directives but that still doesn't work.
Jul
16
awarded Yearling
Jul
16
comment Custom Directives Not Loading in AngularJS
Yes the controller is only needed for the templates. How do I "add it as a controller in the directive"? For instance center-view.html uses SearchResultsController as I've shown. What specifically do I need to add to the centerView directive to make it aware of that controller?
Jul
16
comment Custom Directives Not Loading in AngularJS
I think you're right in that it's not getting the controller from the scope. How exactly do I "expose it in the directive"?
Jul
16
asked Custom Directives Not Loading in AngularJS
Jul
2
awarded Curious
Jan
31
awarded Good Question
Jan
31
awarded Yearling
Dec
25
awarded Famous Question
Nov
6
accepted Memory Leak in Returning a Pointer and Freeing it in C
Nov
3
asked Memory Leak in Returning a Pointer and Freeing it in C
Nov
2
accepted Create an Array of Strings from an Array of Ints in C
Nov
2
asked Create an Array of Strings from an Array of Ints in C
1 2 3 4 5