Skip to main content

All Questions

0 votes
1 answer
507 views

Retrieving model values from dynamically opened controller's scope in AngularJS

I am developing an Web Application using Angular JS. I am a beginner to AngularJS. In my app, I need to dynamically add and remove elements. I use directive for it. Adding and removing elements is ...
Wai Yan Hein's user avatar
  • 14.9k
1 vote
1 answer
152 views

Directive hierarchy & bindToController

I encountered an issue while writing an AngularJS directive. I'm actually trying to melt two principles, directive inheritance and using the controller object (the famous this) instead of $scope. I ...
Azca's user avatar
  • 15
0 votes
1 answer
65 views

angularjs: multiple binded functions in directive

I have a function in my directive that is bound to a function in my controller as follows: HTML: <div graph-visualization data="graphdata" type="graphtype" data-method="watchMonth" timespan="...
Tarun Dugar's user avatar
  • 8,993