Dynamically attach directive name to html tag using angularjs -
is possible attach directive name html tag using user defined function defined in controller.
assume directive name test-val
in controller $scope.test = function() { // attach directive name html div [id=attch] }
on trigger of function test() div should attach directive name. possible?
Comments
Post a Comment