Skip to main content

All Questions

1 vote
1 answer
833 views

Angular directive binding without template controllerAs

I'm encoutering an issue when using a custom directive without template (use Server generated DOM) and binding my view to a controller. Here is my jsFiddle sample : angular.module('myModule', [...
Kévin BEAUGRAND's user avatar
1 vote
1 answer
1k views

AngularJS - dynamically load templateURL when passing object into attribute

In my controller HTML I am passing an object into a directive as such: <div cr-count-summary countdata="vm.currentCountData"></div> The vm.currentCountData is an object that is returned ...
Jon Harding's user avatar
  • 4,946
1 vote
1 answer
448 views

Angularjs, need best solution to move dynamic template formation and compilation code of multiple directives from controller to custom directive

I need to display multiple angularjs directives in a single page on tab click. It could be a combination c3 chart directives and ng grid directives. I am preparing the model with all these relevant ...
Madasu K's user avatar
  • 1,863
0 votes
1 answer
87 views

Directives not loading in order when navigating between pages that reuse directives

I have a two separate pages that use the same controller. I'm using ui router states to change between pages. They contain the following directives which use templateUrl for templates in order: Page A ...
jokomo's user avatar
  • 751